internal/ethapi: fixed linting error

This commit is contained in:
Marius van der Wijden 2020-05-15 09:47:43 +02:00 committed by Péter Szilágyi
parent 23312e0716
commit 05eb3d5f0f
No known key found for this signature in database
GPG key ID: E9AE538CEDF8293D

View file

@ -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 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. // Call executes the given transaction on the state for the given block number.