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):
63
63
"""JSON-RPC protocol error"""
64
64
65
65
def __init__ (self , rpc_error ):
66
- super (JSONRPCException , self ).__init__ (
66
+ super (JSONRPCError , self ).__init__ (
67
67
'msg: %r code: %r' %
68
68
(rpc_error ['message' ], rpc_error ['code' ]))
69
69
self .error = rpc_error
70
70
71
-
72
- # 0.4.0 compatibility
73
- JSONRPCException = JSONRPCError
74
-
75
-
76
71
class BaseProxy (object ):
77
72
"""Base JSON-RPC proxy class. Contains only private methods; do not use
78
73
directly."""
@@ -627,7 +622,6 @@ def removenode(self, node):
627
622
628
623
__all__ = (
629
624
'JSONRPCError' ,
630
- 'JSONRPCException' ,
631
625
'RawProxy' ,
632
626
'Proxy' ,
633
627
)
Original file line number Diff line number Diff line change @@ -6,9 +6,12 @@ v0.7.0-SNAPSHOT (not yet released!)
6
6
7
7
Breaking API changes:
8
8
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
10
10
rather than b''
11
11
12
+ * The alias ` JSONRPCException = JSONRPCError ` has been removed. This alias was
13
+ added for compatibility with v0.4.0 of python-bitcoinlib.
14
+
12
15
Bugfixes:
13
16
14
17
* Fixed a spurious AttributeError when bitcoin.rpc.Proxy() fails.
You can’t perform that action at this time.
0 commit comments