mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-03 17:30:25 +01:00
[tests] Don't subclass from object for Python 3
This commit is contained in:
@@ -89,7 +89,7 @@ class TestNode(NodeConnCB):
|
||||
assert_equal(self.connection.rpc.getbestblockhash() == block.hash, accepted)
|
||||
|
||||
# Used to keep track of anyone-can-spend outputs that we can use in the tests
|
||||
class UTXO(object):
|
||||
class UTXO():
|
||||
def __init__(self, sha256, n, nValue):
|
||||
self.sha256 = sha256
|
||||
self.n = n
|
||||
|
||||
Reference in New Issue
Block a user