mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-13 14:14:00 +01:00
Move CTxDestination from script/script to script/standard
This commit is contained in:
@@ -170,7 +170,7 @@ BOOST_AUTO_TEST_CASE(CreateNewBlock_validity)
|
||||
tx.vin[0].scriptSig = CScript() << OP_1;
|
||||
tx.vout[0].nValue = 4900000000LL;
|
||||
script = CScript() << OP_0;
|
||||
tx.vout[0].scriptPubKey.SetDestination(script.GetID());
|
||||
tx.vout[0].scriptPubKey = GetScriptForDestination(script.GetID());
|
||||
hash = tx.GetHash();
|
||||
mempool.addUnchecked(hash, CTxMemPoolEntry(tx, 11, GetTime(), 111.0, 11));
|
||||
tx.vin[0].prevout.hash = hash;
|
||||
|
||||
Reference in New Issue
Block a user