[tests] Don't subclass from object for Python 3
This commit is contained in:
parent
8f9e3627ef
commit
f893085325
12 changed files with 60 additions and 60 deletions
test/functional/test_framework
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue