mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-20 05:42:50 +02:00
doc: Fix validation typo
This commit is contained in:
parent
fab89006d6
commit
fae8786033
@ -191,7 +191,7 @@ bool CheckFinalTx(const CBlockIndex* active_chain_tip, const CTransaction &tx, i
|
|||||||
|
|
||||||
// CheckFinalTx() uses active_chain_tip.Height()+1 to evaluate
|
// CheckFinalTx() uses active_chain_tip.Height()+1 to evaluate
|
||||||
// nLockTime because when IsFinalTx() is called within
|
// nLockTime because when IsFinalTx() is called within
|
||||||
// CBlock::AcceptBlock(), the height of the block *being*
|
// AcceptBlock(), the height of the block *being*
|
||||||
// evaluated is what is used. Thus if we want to know if a
|
// evaluated is what is used. Thus if we want to know if a
|
||||||
// transaction can be part of the *next* block, we need to call
|
// transaction can be part of the *next* block, we need to call
|
||||||
// IsFinalTx() with one more than active_chain_tip.Height().
|
// IsFinalTx() with one more than active_chain_tip.Height().
|
||||||
|
Loading…
x
Reference in New Issue
Block a user