Changeset View
Changeset View
Standalone View
Standalone View
qa/rpc-tests/rawtransactions.py
Context not available. | |||||
break | break | ||||
bal = self.nodes[0].getbalance() | bal = self.nodes[0].getbalance() | ||||
inputs = [{ "txid" : txId, "vout" : vout['n'], "scriptPubKey" : vout['scriptPubKey']['hex']}] | inputs = [{ "txid" : txId, "vout" : vout['n'], "scriptPubKey" : vout['scriptPubKey']['hex'], "amount" : vout['value']}] | ||||
outputs = { self.nodes[0].getnewaddress() : 2.19 } | outputs = { self.nodes[0].getnewaddress() : 2.19 } | ||||
rawTx = self.nodes[2].createrawtransaction(inputs, outputs) | rawTx = self.nodes[2].createrawtransaction(inputs, outputs) | ||||
rawTxPartialSigned = self.nodes[1].signrawtransaction(rawTx, inputs, None, "ALL") | rawTxPartialSigned = self.nodes[1].signrawtransaction(rawTx, inputs, None, "ALL") | ||||
Context not available. |