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
64
64
int64_t feeDelta;
65
65
};
66
66
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
-
77
67
bool TestLockPointValidity (CChain& active_chain, const LockPoints& lp)
78
68
{
79
69
AssertLockHeld (cs_main);
Original file line number Diff line number Diff line change @@ -312,6 +312,16 @@ class CompareTxMemPoolEntryByAncestorFee
312
312
}
313
313
};
314
314
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
+
315
325
// Multi_index tag names
316
326
struct descendant_score {};
317
327
struct entry_time {};
You can’t perform that action at this time.
0 commit comments