aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_bitcoin.cpp
diff options
context:
space:
mode:
authorAlex Morcos <[email protected]>2015-12-04 15:01:22 -0500
committerAlex Morcos <[email protected]>2016-03-16 16:11:46 -0400
commit982670c333aff6d5660c18ed00931df764733529 (patch)
treec30509abd3422e3e7fcdd10320885eabc5dac126 /src/test/test_bitcoin.cpp
parentMerge #7526: fix spelling of advertise (shows up in the debug log) (diff)
downloaddiscoin-982670c333aff6d5660c18ed00931df764733529.tar.xz
discoin-982670c333aff6d5660c18ed00931df764733529.zip
Add LockPoints
Obtain LockPoints to store in CTxMemPoolEntry and during a reorg, evaluate whether they are still valid and if not, recalculate them.
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r--src/test/test_bitcoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp
index 0416d0c92..a272018cf 100644
--- a/src/test/test_bitcoin.cpp
+++ b/src/test/test_bitcoin.cpp
@@ -151,7 +151,7 @@ CTxMemPoolEntry TestMemPoolEntryHelper::FromTx(CMutableTransaction &tx, CTxMemPo
CAmount inChainValue = hasNoDependencies ? txn.GetValueOut() : 0;
return CTxMemPoolEntry(txn, nFee, nTime, dPriority, nHeight,
- hasNoDependencies, inChainValue, spendsCoinbase, sigOpCount);
+ hasNoDependencies, inChainValue, spendsCoinbase, sigOpCount, lp);
}
void Shutdown(void* parg)