chore_: fix tests

This commit is contained in:
Andrey Bocharnikov 2024-10-11 11:41:27 +04:00
parent 86cd41d04e
commit b22c40f023
1 changed files with 2 additions and 3 deletions

View File

@ -377,11 +377,10 @@ func (c *Client) CallContextIgnoringLocalHandlers(ctx context.Context, result in
if c.router.routeRemote(method) {
client, err := c.getClientUsingCache(chainID)
if err != nil {
return err
}
if err == nil {
return client.CallContext(ctx, result, method, args...)
}
}
if c.local == nil {
c.log.Warn("Local JSON-RPC endpoint missing", "method", method)