From 82f2fa03a58df7418f88f176e94c3aa70d7a6c64 Mon Sep 17 00:00:00 2001 From: John Newbery Date: Sat, 22 Sep 2018 23:01:32 -0400 Subject: [test] Remove deprecated addwitnessaddress from wallet_bumpfee.py --- test/functional/wallet_bumpfee.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test') diff --git a/test/functional/wallet_bumpfee.py b/test/functional/wallet_bumpfee.py index b4580ac74a..7d3d9b61e2 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, -- cgit v1.2.3