mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-29 15:29:14 +01:00
[tests] Don't subclass from object for Python 3
This commit is contained in:
@@ -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