aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/validation.cpp')
-rw-r--r--src/validation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp
index b2d253afd2..fff7cfc07b 100644
--- a/src/validation.cpp
+++ b/src/validation.cpp
@@ -375,7 +375,7 @@ void CChainState::MaybeUpdateMempoolForReorg(
} else if (!validLP) {
// If CheckSequenceLocks succeeded, it also updated the LockPoints.
// Now update the mempool entry lockpoints as well.
- m_mempool->mapTx.modify(it, update_lock_points(lp));
+ m_mempool->mapTx.modify(it, [&lp](CTxMemPoolEntry& e) { e.UpdateLockPoints(lp); });
}
// If the transaction spends any coinbase outputs, it must be mature.