You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my project, I use testrpc as the environment for my unit tests.
And ehjsonrpc throws for the call net_peerCount with this:
File "/../src/venv/lib/python3.5/site-packages/ethjsonrpc/client.py", line 175, in net_peerCount
return hex_to_dec(self._call('net_peerCount'))
File "/../src/venv/lib/python3.5/site-packages/ethjsonrpc/utils.py", line 10, in hex_to_dec
return int(x, 16)
TypeError: int() can't convert non-string with explicit base
In my project, I use
testrpc
as the environment for my unit tests.And
ehjsonrpc
throws for the callnet_peerCount
with this:I found a quick fix
https://github.com/ConsenSys/ethjsonrpc/blob/master/ethjsonrpc/utils.py#L8
The text was updated successfully, but these errors were encountered: