mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-19 00:11:42 +02:00
test: Assert on correct variable
This commit is contained in:
parent
27278dffe8
commit
bf08fc5b6b
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user