f-o-a-m / purescript-web3

a purescript library for the web3 api
Apache License 2.0
127 stars 24 forks source link

Fix badly formed `eth_getBlockByHash` request #54

Closed XertroV closed 6 years ago

XertroV commented 6 years ago

the eth_getBlockByHash method didn't include the second parameter. This throws an error with parity and crashes testrpc/ganache.

See https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_getblockbyhash for spec.