Merge 0ccf9b2e55 into merged_master (Bitcoin PR bitcoin/bitcoin#23258)

This commit is contained in:
James Dorfman 2023-05-14 00:57:27 +00:00
commit 664122467c
6 changed files with 6 additions and 6 deletions

View file

@ -225,7 +225,7 @@ bool TestLockPointValidity(CChain& active_chain, const LockPoints* lp)
// If there are relative lock times then the maxInputBlock will be set
// If there are no relative lock times, the LockPoints don't depend on the chain
if (lp->maxInputBlock) {
// Check whether ::ChainActive() is an extension of the block at which the LockPoints
// Check whether active_chain is an extension of the block at which the LockPoints
// calculation was valid. If not LockPoints are no longer valid
if (!active_chain.Contains(lp->maxInputBlock)) {
return false;