Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace
struct update_lock_points
with lambda
Summary: No behavior change. This code was introduced in 5add7a7 before we required C++11, which is why the struct was needed. As we are now using more modern C++ and this is the only place where lockpoints are updated for mempool entries, it is more idiomatic to call `modify` with a lambda. Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> This concludes backport of [[bitcoin/bitcoin#23976 | core#23976]] bitcoin/bitcoin@e177fca Depends on D12587 Test Plan: `ninja all check-all` Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Differential Revision: https://reviews.bitcoinabc.org/D12588
- Loading branch information