Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in documentation files #2315

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blockchain/indexers/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion btcjson/error.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion txscript/standard.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down