diff options
| author | John Newbery <[email protected]> | 2018-09-22 23:01:32 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2018-09-23 08:51:57 -0400 |
| commit | 82f2fa03a58df7418f88f176e94c3aa70d7a6c64 (patch) | |
| tree | 643348aad70dc4ad964e19908fd7e3f2bd280a89 | |
| parent | [test] Remove deprecated addwitnessaddress from p2p_compactblocks.py (diff) | |
| download | discoin-82f2fa03a58df7418f88f176e94c3aa70d7a6c64.tar.xz discoin-82f2fa03a58df7418f88f176e94c3aa70d7a6c64.zip | |
[test] Remove deprecated addwitnessaddress from wallet_bumpfee.py
| -rwxr-xr-x | test/functional/wallet_bumpfee.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/wallet_bumpfee.py b/test/functional/wallet_bumpfee.py index b4580ac74..7d3d9b61e 100755 --- a/test/functional/wallet_bumpfee.py +++ b/test/functional/wallet_bumpfee.py @@ -29,7 +29,6 @@ class BumpFeeTest(BitcoinTestFramework): self.num_nodes = 2 self.setup_clean_chain = True self.extra_args = [[ - "-deprecatedrpc=addwitnessaddress", "-walletrbf={}".format(i), "-mintxfee=0.00002", ] for i in range(self.num_nodes)] @@ -104,8 +103,7 @@ def test_segwit_bumpfee_succeeds(rbf_node, dest_address): # which spends it, and make sure bumpfee can be called on it. segwit_in = next(u for u in rbf_node.listunspent() if u["amount"] == Decimal("0.001")) - segwit_out = rbf_node.getaddressinfo(rbf_node.getnewaddress()) - rbf_node.addwitnessaddress(segwit_out["address"]) + segwit_out = rbf_node.getaddressinfo(rbf_node.getnewaddress(address_type='p2sh-segwit')) segwitid = send_to_witness( use_p2wsh=False, node=rbf_node, |