[tests] Don't subclass from object for Python 3
This commit is contained in:
1 parent
8f9e3627ef
commit
f893085325
12 files changed
+60
-60
No files matched your search
@@ -370,7 +370,7 @@ class CScriptTruncatedPushDataError(CScriptInvalidError):
|
||||
super(CScriptTruncatedPushDataError, self).__init__(msg)
|
||||
|
||||
# This is used, eg, for blockchain heights in coinbase scripts (bip34)
|
||||
class CScriptNum(object):
|
||||
class CScriptNum():
|
||||
def __init__(self, d=0):
|
||||
self.value = d
|
||||
|
||||
|
||||
Reference in new issue
Block a user