|
|
@ -33,7 +33,7 @@ class SignRawTransactionsTest(BitcoinTestFramework): |
|
|
|
'scriptPubKey': '76a91460baa0f494b38ce3c940dea67f3804dc52d1fb9488ac'} |
|
|
|
] |
|
|
|
|
|
|
|
outputs = {'mpLQjfK79b7CCV4VMJWEWAj5Mpx8Up5zxB': 0.1} |
|
|
|
outputs = {'tmJXomn8fhYy3AFqDEteifjHRMUdKtBuTGM': 0.1} |
|
|
|
|
|
|
|
rawTx = self.nodes[0].createrawtransaction(inputs, outputs) |
|
|
|
rawTxSigned = self.nodes[0].signrawtransaction(rawTx, inputs, privKeys) |
|
|
@ -74,7 +74,7 @@ class SignRawTransactionsTest(BitcoinTestFramework): |
|
|
|
'scriptPubKey': 'badbadbadbad'} |
|
|
|
] |
|
|
|
|
|
|
|
outputs = {'mpLQjfK79b7CCV4VMJWEWAj5Mpx8Up5zxB': 0.1} |
|
|
|
outputs = {'tmJXomn8fhYy3AFqDEteifjHRMUdKtBuTGM': 0.1} |
|
|
|
|
|
|
|
rawTx = self.nodes[0].createrawtransaction(inputs, outputs) |
|
|
|
rawTxSigned = self.nodes[0].signrawtransaction(rawTx, scripts, privKeys) |
|
|
|