fix: use correct chain client

This commit is contained in:
Anthony Laibe 2023-03-07 15:21:44 +01:00 committed by Anthony Laibe
parent a6194ffad4
commit bbe4e57f0f
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ func (c *Controller) GetTransfersByAddress(ctx context.Context, chainID uint64,
} }
transfersCount := int64(len(rst)) transfersCount := int64(len(rst))
chainClient, err := c.rpcClient.EthClient(c.rpcClient.UpstreamChainID) chainClient, err := c.rpcClient.EthClient(chainID)
if err != nil { if err != nil {
return nil, err return nil, err
} }