chore_: fix tests
This commit is contained in:
parent
86cd41d04e
commit
b22c40f023
|
@ -377,11 +377,10 @@ func (c *Client) CallContextIgnoringLocalHandlers(ctx context.Context, result in
|
||||||
|
|
||||||
if c.router.routeRemote(method) {
|
if c.router.routeRemote(method) {
|
||||||
client, err := c.getClientUsingCache(chainID)
|
client, err := c.getClientUsingCache(chainID)
|
||||||
if err != nil {
|
if err == nil {
|
||||||
return err
|
|
||||||
}
|
|
||||||
return client.CallContext(ctx, result, method, args...)
|
return client.CallContext(ctx, result, method, args...)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if c.local == nil {
|
if c.local == nil {
|
||||||
c.log.Warn("Local JSON-RPC endpoint missing", "method", method)
|
c.log.Warn("Local JSON-RPC endpoint missing", "method", method)
|
||||||
|
|
Loading…
Reference in New Issue