aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_txn_doublespend.py
diff options
context:
space:
mode:
authorKvaciral <kvaciral@protonmail.com>2018-08-11 22:24:14 +0200
committerKvaciral <kvaciral@protonmail.com>2018-08-12 00:23:53 +0200
commit5654efb187d24eb29a343c720e3937b01457c8b7 (patch)
tree4e1961b56c06e9398093a0a1a092929861c2f3f7 /test/functional/wallet_txn_doublespend.py
parent1b04b55f2d22078ca79cd38fc1078e15fa9cbe94 (diff)
downloadbitcoin-5654efb187d24eb29a343c720e3937b01457c8b7.tar.xz
Ported usage of deprecated optparse module to argparse module
Diffstat (limited to 'test/functional/wallet_txn_doublespend.py')
-rwxr-xr-xtest/functional/wallet_txn_doublespend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/wallet_txn_doublespend.py b/test/functional/wallet_txn_doublespend.py
index 8903fc0e0e..6811f6ab73 100755
--- a/test/functional/wallet_txn_doublespend.py
+++ b/test/functional/wallet_txn_doublespend.py
@@ -19,8 +19,8 @@ class TxnMallTest(BitcoinTestFramework):
self.num_nodes = 4
def add_options(self, parser):
- parser.add_option("--mineblock", dest="mine_block", default=False, action="store_true",
- help="Test double-spend of 1-confirmed transaction")
+ parser.add_argument("--mineblock", dest="mine_block", default=False, action="store_true",
+ help="Test double-spend of 1-confirmed transaction")
def setup_network(self):
# Start with split network: