diff --git a/blockchain/indexers/common.go b/blockchain/indexers/common.go index 89ce6720b5..47458aff74 100644 --- a/blockchain/indexers/common.go +++ b/blockchain/indexers/common.go @@ -52,7 +52,7 @@ type Indexer interface { // ConnectBlock is invoked when a new block has been connected to the // main chain. The set of output spent within a block is also passed in - // so indexers can access the pevious output scripts input spent if + // so indexers can access the previous output scripts input spent if // required. ConnectBlock(database.Tx, *btcutil.Block, []blockchain.SpentTxOut) error diff --git a/btcjson/error.go b/btcjson/error.go index 66be0214d1..036b07c9cf 100644 --- a/btcjson/error.go +++ b/btcjson/error.go @@ -58,7 +58,7 @@ const ( // help is missing. ErrMissingDescription - // ErrNumParams inidcates the number of params supplied do not + // ErrNumParams indicates the number of params supplied do not // match the requirements of the associated command. ErrNumParams diff --git a/txscript/standard.go b/txscript/standard.go index 809a900a2a..f8ca7d4ccd 100644 --- a/txscript/standard.go +++ b/txscript/standard.go @@ -1151,7 +1151,7 @@ func ExtractAtomicSwapDataPushes(version uint16, pkScript []byte) (*AtomicSwapDa } // At this point, the script appears to be an atomic swap, so populate and - // return the extacted data. + // return the extracted data. pushes := AtomicSwapDataPushes{ SecretSize: template[2].extractedInt, LockTime: template[11].extractedInt,