Fix abandonconflict.py (#3436)

One of rebases in #3407 reverted the fix
This commit is contained in:
UdjinM6 2020-04-18 22:04:01 +03:00 committed by GitHub
parent 2610e718cd
commit 75a1968c96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ class AbandonConflictTest(BitcoinTestFramework):
signed3_change = Decimal("24.999") signed3_change = Decimal("24.999")
inputs = [ {"txid":txABC2, "vout":0} ] inputs = [ {"txid":txABC2, "vout":0} ]
outputs = { self.nodes[0].getnewaddress(): signed3_change } outputs = { self.nodes[0].getnewaddress(): signed3_change }
signed3 = self.nodes[0].signrawtransactionwithwallet(self.nodes[0].createrawtransaction(inputs, outputs)) signed3 = self.nodes[0].signrawtransaction(self.nodes[0].createrawtransaction(inputs, outputs))
# note tx is never directly referenced, only abandoned as a child of the above # note tx is never directly referenced, only abandoned as a child of the above
self.nodes[0].sendrawtransaction(signed3["hex"]) self.nodes[0].sendrawtransaction(signed3["hex"])