This commit is contained in:
jl777
2016-10-21 17:34:42 -03:00
parent 0f24f24562
commit 0ba361a59a

View File

@@ -85,12 +85,14 @@ public:
//! version of the CTransaction; accesses to this value should probably check for nHeight as well,
//! as new tx version will probably only be introduced at certain heights
int nVersion;
uint32_t nLockTime;
void FromTx(const CTransaction &tx, int nHeightIn) {
fCoinBase = tx.IsCoinBase();
vout = tx.vout;
nHeight = nHeightIn;
nVersion = tx.nVersion;
nLockTime = tx.nLockTime;
ClearUnspendable();
}