File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -63,16 +63,11 @@ class JSONRPCError(Exception):
6363 """JSON-RPC protocol error"""
6464
6565 def __init__ (self , rpc_error ):
66- super (JSONRPCException , self ).__init__ (
66+ super (JSONRPCError , self ).__init__ (
6767 'msg: %r code: %r' %
6868 (rpc_error ['message' ], rpc_error ['code' ]))
6969 self .error = rpc_error
7070
71-
72- # 0.4.0 compatibility
73- JSONRPCException = JSONRPCError
74-
75-
7671class BaseProxy (object ):
7772 """Base JSON-RPC proxy class. Contains only private methods; do not use
7873 directly."""
@@ -627,7 +622,6 @@ def removenode(self, node):
627622
628623__all__ = (
629624 'JSONRPCError' ,
630- 'JSONRPCException' ,
631625 'RawProxy' ,
632626 'Proxy' ,
633627)
Original file line number Diff line number Diff line change @@ -6,9 +6,12 @@ v0.7.0-SNAPSHOT (not yet released!)
66
77Breaking API changes:
88
9- * The 'cooked' CScript iterator now returns OP_0 for the empty binary string
9+ * The 'cooked' CScript iterator now returns ` OP_0 ` for the empty binary string
1010 rather than b''
1111
12+ * The alias ` JSONRPCException = JSONRPCError ` has been removed. This alias was
13+ added for compatibility with v0.4.0 of python-bitcoinlib.
14+
1215Bugfixes:
1316
1417* Fixed a spurious AttributeError when bitcoin.rpc.Proxy() fails.
You can’t perform that action at this time.
0 commit comments