fix: use correct chain client
This commit is contained in:
parent
a6194ffad4
commit
bbe4e57f0f
|
@ -205,7 +205,7 @@ func (c *Controller) GetTransfersByAddress(ctx context.Context, chainID uint64,
|
|||
}
|
||||
|
||||
transfersCount := int64(len(rst))
|
||||
chainClient, err := c.rpcClient.EthClient(c.rpcClient.UpstreamChainID)
|
||||
chainClient, err := c.rpcClient.EthClient(chainID)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue