From ec071b4195a5f13c74d8331ae0819281053f211e Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Sun, 12 Mar 2023 19:12:08 -0700 Subject: [PATCH] fix typo in eth_call error (#7084) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Spotted this typo when poking at Cloudflare's public gateway and mapped it back here 🙈 --- cmd/rpcdaemon/commands/eth_call.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/rpcdaemon/commands/eth_call.go b/cmd/rpcdaemon/commands/eth_call.go index 87abae0421d..e76df836caa 100644 --- a/cmd/rpcdaemon/commands/eth_call.go +++ b/cmd/rpcdaemon/commands/eth_call.go @@ -75,7 +75,7 @@ func (api *APIImpl) Call(ctx context.Context, args ethapi2.CallArgs, blockNrOrHa } if len(result.ReturnData) > api.ReturnDataLimit { - return nil, fmt.Errorf("call retuned result on length %d exceeding limit %d", len(result.ReturnData), api.ReturnDataLimit) + return nil, fmt.Errorf("call returned result on length %d exceeding limit %d", len(result.ReturnData), api.ReturnDataLimit) } // If the result contains a revert reason, try to unpack and return it.