aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p-segwit.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2017-10-16 21:46:23 -0400
committerJohn Newbery <john@johnnewbery.com>2017-10-16 21:46:23 -0400
commitf893085325b57dd07bde78a01e5dcb7d303154de (patch)
treedd0fcd3155fde2b3a50f6cfee75f482d857c185b /test/functional/p2p-segwit.py
parent8f9e3627ef054c9732f4e529c6ed429ed8dc7183 (diff)
downloadbitcoin-f893085325b57dd07bde78a01e5dcb7d303154de.tar.xz
[tests] Don't subclass from object for Python 3
Diffstat (limited to 'test/functional/p2p-segwit.py')
-rwxr-xr-xtest/functional/p2p-segwit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p-segwit.py b/test/functional/p2p-segwit.py
index a9ef47559b..f803367668 100755
--- a/test/functional/p2p-segwit.py
+++ b/test/functional/p2p-segwit.py
@@ -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