fix wallet.py after 13160

Signed-off-by: pasta <pasta@dashboost.org>
This commit is contained in:
MarcoFalke 2018-06-29 02:05:29 +14:00 committed by pasta
parent b1a1954e5b
commit 7e3874aa4b

View File

@ -119,7 +119,7 @@ class WalletTest(BitcoinTestFramework):
self.nodes[1].lockunspent(False, [unspent_0])
tx = self.nodes[1].createrawtransaction([unspent_0], { self.nodes[1].getnewaddress() : 1 })
tx = self.nodes[1].fundrawtransaction(tx)['hex']
tx = self.nodes[1].signrawtransactionwithwallet(tx)["hex"]
tx = self.nodes[1].signrawtransaction(tx)["hex"]
self.nodes[1].sendrawtransaction(tx)
assert_equal(len(self.nodes[1].listlockunspent()), 0)