mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
signrawtransactionwithwallet in feature_dip0020_activation.py
Signed-off-by: pasta <pasta@dashboost.org>
This commit is contained in:
parent
df138d7346
commit
063f7655d0
@ -35,7 +35,7 @@ class DIP0020ActivationTest(BitcoinTestFramework):
|
|||||||
tx = CTransaction()
|
tx = CTransaction()
|
||||||
tx.vin.append(CTxIn(COutPoint(int(utxo["txid"], 16), utxo["vout"])))
|
tx.vin.append(CTxIn(COutPoint(int(utxo["txid"], 16), utxo["vout"])))
|
||||||
tx.vout.append(CTxOut(value, CScript([b'1', b'2', OP_CAT])))
|
tx.vout.append(CTxOut(value, CScript([b'1', b'2', OP_CAT])))
|
||||||
tx_signed_hex = self.node.signrawtransaction(ToHex(tx))["hex"]
|
tx_signed_hex = self.node.signrawtransactionwithwallet(ToHex(tx))["hex"]
|
||||||
txid = self.node.sendrawtransaction(tx_signed_hex)
|
txid = self.node.sendrawtransaction(tx_signed_hex)
|
||||||
|
|
||||||
# This tx should be completely valid, should be included in mempool and mined in the next block
|
# This tx should be completely valid, should be included in mempool and mined in the next block
|
||||||
|
Loading…
Reference in New Issue
Block a user