Skip to content

Commit c71544f

Browse files
committed
minor
1 parent 7a6a843 commit c71544f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

blockchain/validate.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func ShouldHaveSerializedBlockHeight(header *wire.BlockHeader) bool {
9090

9191
// IsCoinBaseTx determines whether or not a transaction is a coinbase. A coinbase
9292
// is a special transaction created by miners that has no inputs. This is
93-
// represented in the block chain by a transaction with a single input that has
93+
// represented in the blockchain by a transaction with a single input that has
9494
// a previous output transaction index set to the maximum value along with a
9595
// zero hash.
9696
//
@@ -114,7 +114,7 @@ func IsCoinBaseTx(msgTx *wire.MsgTx) bool {
114114

115115
// IsCoinBase determines whether or not a transaction is a coinbase. A coinbase
116116
// is a special transaction created by miners that has no inputs. This is
117-
// represented in the block chain by a transaction with a single input that has
117+
// represented in the blockchain by a transaction with a single input that has
118118
// a previous output transaction index set to the maximum value along with a
119119
// zero hash.
120120
//
@@ -782,7 +782,7 @@ func CheckBlockHeaderContext(header *wire.BlockHeader, prevNode HeaderCtx,
782782
}
783783

784784
// checkBlockContext performs several validation checks on the block which depend
785-
// on its position within the block chain.
785+
// on its position within the blockchain.
786786
//
787787
// The flags modify the behavior of this function as follows:
788788
// - BFFastAdd: The transaction are not checked to see if they are finalized
@@ -1087,7 +1087,7 @@ func (b *BlockChain) checkConnectBlock(node *blockNode, block *btcutil.Block, vi
10871087
//
10881088
// In addition, as of BIP0034, duplicate coinbases are no longer
10891089
// possible due to its requirement for including the block height in the
1090-
// coinbase and thus it is no longer possible to create transactions
1090+
// coinbase, and thus it is no longer possible to create transactions
10911091
// that 'overwrite' older ones. Therefore, only enforce the rule if
10921092
// BIP0034 is not yet active. This is a useful optimization because the
10931093
// BIP0030 check is expensive since it involves a ton of cache misses in
@@ -1250,7 +1250,7 @@ func (b *BlockChain) checkConnectBlock(node *blockNode, block *btcutil.Block, vi
12501250
if csvState == ThresholdActive {
12511251
// If the CSV soft-fork is now active, then modify the
12521252
// scriptFlags to ensure that the CSV op code is properly
1253-
// validated during the script checks bleow.
1253+
// validated during the script checks below.
12541254
scriptFlags |= txscript.ScriptVerifyCheckSequenceVerify
12551255

12561256
// We obtain the MTP of the *previous* block in order to

0 commit comments

Comments
 (0)