This commit is contained in:
Scott Sadler
2018-04-16 22:57:35 -05:00
parent 3205a566d4
commit 0cb91a8d20
30 changed files with 1002 additions and 289 deletions

View File

@@ -97,6 +97,11 @@ public:
nVersion = tx.nVersion;
//nLockTime = tx.nLockTime;
ClearUnspendable();
// This must live forever
if (tx.IsCoinImport()) {
vout.insert(vout.begin(), CTxOut(0, CScript() << OP_NOP << OP_RETURN));
}
}
//! construct a CCoins from a CTransaction, at a given height