jgarzik / python-bitcoinrpc

Python interface to bitcoin's JSON-RPC API
GNU Lesser General Public License v2.1
644 stars 304 forks source link

Fix default presence of error key in a response. #58

Closed jonasnick closed 5 years ago

jonasnick commented 8 years ago

It seems that in some version Bitcoin Core changed their RPC interface slightly, such that Bitcoin Core 0.10.x works with this library but 0.11.2 does not. This is because the 'error' key is always present in a response and so a __call__ always returns None instead of response['result'].

maflcko commented 8 years ago

Merged as df459b7c00d6a9320fe7adcfa11e9c812127ffa3