multi: fix typos

This commit is contained in:
Oleg Bondar 2025-02-10 15:30:48 +00:00 committed by Olaoluwa Osuntokun
parent 0914ecc088
commit 3e3c7791e7
3 changed files with 4 additions and 4 deletions

View file

@ -1230,7 +1230,7 @@ func (b *BlockChain) checkConnectBlock(node *blockNode, block *btcutil.Block, vi
if csvState == ThresholdActive { if csvState == ThresholdActive {
// If the CSV soft-fork is now active, then modify the // If the CSV soft-fork is now active, then modify the
// scriptFlags to ensure that the CSV op code is properly // scriptFlags to ensure that the CSV op code is properly
// validated during the script checks bleow. // validated during the script checks below.
scriptFlags |= txscript.ScriptVerifyCheckSequenceVerify scriptFlags |= txscript.ScriptVerifyCheckSequenceVerify
// We obtain the MTP of the *previous* block in order to // We obtain the MTP of the *previous* block in order to

View file

@ -31,7 +31,7 @@ var (
activeNetParams = &chaincfg.MainNetParams activeNetParams = &chaincfg.MainNetParams
) )
// config defines the configuration options for findcheckpoint. // config defines the configuration options for addblock.
// //
// See loadConfig for details on the configuration load process. // See loadConfig for details on the configuration load process.
type config struct { type config struct {

View file

@ -21,7 +21,7 @@ type params struct {
} }
// mainNetParams contains parameters specific to the main network // mainNetParams contains parameters specific to the main network
// (wire.MainNet). NOTE: The RPC port is intentionally different than the // (wire.MainNet). NOTE: The RPC port is intentionally different from the
// reference implementation because btcd does not handle wallet requests. The // reference implementation because btcd does not handle wallet requests. The
// separate wallet process listens on the well-known port and forwards requests // separate wallet process listens on the well-known port and forwards requests
// it does not handle on to btcd. This approach allows the wallet process // it does not handle on to btcd. This approach allows the wallet process
@ -41,7 +41,7 @@ var regressionNetParams = params{
} }
// testNet3Params contains parameters specific to the test network (version 3) // testNet3Params contains parameters specific to the test network (version 3)
// (wire.TestNet3). NOTE: The RPC port is intentionally different than the // (wire.TestNet3). NOTE: The RPC port is intentionally different from the
// reference implementation - see the mainNetParams comment for details. // reference implementation - see the mainNetParams comment for details.
var testNet3Params = params{ var testNet3Params = params{
Params: &chaincfg.TestNet3Params, Params: &chaincfg.TestNet3Params,