Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle "null" result from eth_getTransactionCount method
Fixes error: getting transaction count: json: cannot unmarshal non-string into Go value of type hexutil.Uint Example payload: curl -X 'POST' -d '{"jsonrpc":"2.0","id":20,"method":"eth_getBlockTransactionCountByHash","params":["0x75e20b44ed45bd9e8d261385fb2cb1886c31f91b8bafad9cc38addebf1f950ed"]}' -H 'Content-Type: application/json' -H 'User-Agent: sequence/node-check' 'https://little-crimson-energy.quiknode.pro/***/' time: 13.592958ms status: HTTP 200 body: {"jsonrpc":"2.0","id":20,"result":null}
- Loading branch information