HomePhabricator

change TestLockPointValidity to take a const reference

Description

change TestLockPointValidity to take a const reference

Summary:
The lockpoints are not changed in this function.
There is no reason to pass a pointer.

Note for review: this is backported out of order after core#23683

This concludes backport of core#23649
https://github.com/bitcoin/bitcoin/pull/23649/commits/c4efc4db5484910ac33ba41aa76f4e23639d6f33

Depends on D12448

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D12453

Details

Provenance
glozow <gloriajzhao@gmail.com>Authored on Dec 2 2021, 11:51
PiRKCommitted on Nov 10 2022, 15:05
PiRKPushed on Nov 10 2022, 15:05
Reviewer
Restricted Project
Differential Revision
D12453: change TestLockPointValidity to take a const reference
Parents
rABCd470c5fe0590: move check_final_and_mature lambda from CTxMemPool::removeForReorg to…
Branches
Unknown
Tags
Unknown