From 05eb3d5f0f44852ca0f3e129081820f892bca199 Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Fri, 15 May 2020 09:47:43 +0200 Subject: [PATCH] internal/ethapi: fixed linting error --- internal/ethapi/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 03e4fb4cfd..2034f75eea 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -869,7 +869,7 @@ func DoCall(ctx context.Context, b Backend, args CallArgs, blockNrOrHash rpc.Blo } return nil, fmt.Errorf("execution reverted: %v", reason) } - return result, nil + return result, err } // Call executes the given transaction on the state for the given block number.