mirror of https://github.com/bitcoin/bitcoin
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>
pull/23976/head
parent
c7cd98c717
commit
e177fcab38
Loading…
Reference in new issue