Merge 226731ac11 into merged_master (Bitcoin PR bitcoin/bitcoin#23037)

This commit is contained in:
James Dorfman 2023-04-21 18:25:58 +00:00
commit 39992beced

View file

@ -165,7 +165,7 @@ class CoinStatsIndexTest(BitcoinTestFramework):
tx2 = CTransaction()
tx2.vin.append(CTxIn(COutPoint(int(tx1_txid, 16), n), b''))
tx2.vout.append(CTxOut(int(21 * COIN - 0.01 * COIN), CScript([OP_RETURN] + [OP_FALSE]*30)))
tx2.vout.append(CTxOut(int(0.01 * COIN), CScript())) # ELEMENTS: fee
tx2.vout.append(CTxOut(int(Decimal(0.01) * COIN), CScript())) # ELEMENTS: fee
tx2_hex = self.nodes[0].signrawtransactionwithwallet(tx2.serialize().hex())['hex']
self.nodes[0].sendrawtransaction(tx2_hex)