test
This commit is contained in:
@@ -85,12 +85,14 @@ public:
|
|||||||
//! version of the CTransaction; accesses to this value should probably check for nHeight as well,
|
//! 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
|
//! as new tx version will probably only be introduced at certain heights
|
||||||
int nVersion;
|
int nVersion;
|
||||||
|
uint32_t nLockTime;
|
||||||
|
|
||||||
void FromTx(const CTransaction &tx, int nHeightIn) {
|
void FromTx(const CTransaction &tx, int nHeightIn) {
|
||||||
fCoinBase = tx.IsCoinBase();
|
fCoinBase = tx.IsCoinBase();
|
||||||
vout = tx.vout;
|
vout = tx.vout;
|
||||||
nHeight = nHeightIn;
|
nHeight = nHeightIn;
|
||||||
nVersion = tx.nVersion;
|
nVersion = tx.nVersion;
|
||||||
|
nLockTime = tx.nLockTime;
|
||||||
ClearUnspendable();
|
ClearUnspendable();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user