Commit 2d8927a5 authored by Matthew Slipper's avatar Matthew Slipper Committed by GitHub

Update op-bindings/etherscan/client.go

parent b4629bec
......@@ -120,7 +120,7 @@ func (c *client) fetchEtherscanRpc(ctx context.Context, url string) (rpcResponse
}
var resultString string
_ = json.Unmarshal(response.Result, &resultString)
err = json.Unmarshal(response.Result, &resultString)
if err != nil {
return rpcResponse{}, fmt.Errorf("failed to unmarshal response.Result as a string: %w", err)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment