Browse Source

test

pull/4/head
jl777 8 years ago
parent
commit
0ba361a59a
  1. 2
      src/coins.h

2
src/coins.h

@ -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();
}

Loading…
Cancel
Save