mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-04 04:32:20 +02:00
test: Assert on correct variable
This commit is contained in:
@ -289,7 +289,7 @@ class RawTransactionsTest(BitcoinTestFramework):
|
|||||||
rawTx2 = self.nodes[2].createrawtransaction(inputs, outputs)
|
rawTx2 = self.nodes[2].createrawtransaction(inputs, outputs)
|
||||||
rawTxPartialSigned1 = self.nodes[1].signrawtransactionwithwallet(rawTx2, inputs)
|
rawTxPartialSigned1 = self.nodes[1].signrawtransactionwithwallet(rawTx2, inputs)
|
||||||
self.log.debug(rawTxPartialSigned1)
|
self.log.debug(rawTxPartialSigned1)
|
||||||
assert_equal(rawTxPartialSigned['complete'], False) #node1 only has one key, can't comp. sign the tx
|
assert_equal(rawTxPartialSigned1['complete'], False) #node1 only has one key, can't comp. sign the tx
|
||||||
|
|
||||||
rawTxPartialSigned2 = self.nodes[2].signrawtransactionwithwallet(rawTx2, inputs)
|
rawTxPartialSigned2 = self.nodes[2].signrawtransactionwithwallet(rawTx2, inputs)
|
||||||
self.log.debug(rawTxPartialSigned2)
|
self.log.debug(rawTxPartialSigned2)
|
||||||
|
Reference in New Issue
Block a user