File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -64,16 +64,6 @@ struct update_fee_delta
6464 int64_t feeDelta;
6565};
6666
67- struct update_lock_points
68- {
69- explicit update_lock_points (const LockPoints& _lp) : lp(_lp) { }
70-
71- void operator () (CTxMemPoolEntry &e) { e.UpdateLockPoints (lp); }
72-
73- private:
74- const LockPoints& lp;
75- };
76-
7767bool TestLockPointValidity (CChain& active_chain, const LockPoints& lp)
7868{
7969 AssertLockHeld (cs_main);
Original file line number Diff line number Diff line change @@ -312,6 +312,16 @@ class CompareTxMemPoolEntryByAncestorFee
312312 }
313313};
314314
315+ struct update_lock_points
316+ {
317+ explicit update_lock_points (const LockPoints& _lp) : lp(_lp) { }
318+
319+ void operator () (CTxMemPoolEntry &e) { e.UpdateLockPoints (lp); }
320+
321+ private:
322+ const LockPoints& lp;
323+ };
324+
315325// Multi_index tag names
316326struct descendant_score {};
317327struct entry_time {};
You can’t perform that action at this time.
0 commit comments