jgarzik / python-bitcoinrpc

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

We need to handle -32700 "Parse error" correctly #67

Closed TigerND closed 6 years ago

TigerND commented 8 years ago

Servers that don't support JSON-RPC 2.0 return a single error "Parse error" (single response but not list of responses).

{u'id': None, u'result': None, u'error': {u'message': u'Parse error', u'code': -32700}}

This situation should be handled correctly.

PS: Tested using Namecoin wallet 0.3.80