From 20955b94dd110ca4e63a3667983ccce8c627b2fd Mon Sep 17 00:00:00 2001 From: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> Date: Sat, 8 Feb 2025 21:05:25 +0100 Subject: [PATCH 1/3] Update standard.go --- txscript/standard.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, From 6b614166307dcf17c090c24df2b1c10c46b31879 Mon Sep 17 00:00:00 2001 From: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> Date: Sat, 8 Feb 2025 21:05:53 +0100 Subject: [PATCH 2/3] Update error.go --- btcjson/error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From ae8d310a010bdce3e63d1ab952d1bd58cd141d20 Mon Sep 17 00:00:00 2001 From: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> Date: Sat, 8 Feb 2025 21:06:13 +0100 Subject: [PATCH 3/3] Update common.go --- blockchain/indexers/common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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