Skip to content

Commit

Permalink
Merge pull request #1957 from hieblmi/fix-typos
Browse files Browse the repository at this point in the history
txscript: fix typos
  • Loading branch information
guggero authored Apr 20, 2023
2 parents 7975168 + 42653cd commit d48e864
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions txscript/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,19 @@ func IsPayToScriptHash(script []byte) bool {
return isScriptHashScript(script)
}

// IsPayToWitnessScriptHash returns true if the is in the standard
// IsPayToWitnessScriptHash returns true if the script is in the standard
// pay-to-witness-script-hash (P2WSH) format, false otherwise.
func IsPayToWitnessScriptHash(script []byte) bool {
return isWitnessScriptHashScript(script)
}

// IsPayToWitnessPubKeyHash returns true if the is in the standard
// IsPayToWitnessPubKeyHash returns true if the script is in the standard
// pay-to-witness-pubkey-hash (P2WKH) format, false otherwise.
func IsPayToWitnessPubKeyHash(script []byte) bool {
return isWitnessPubKeyHashScript(script)
}

// IsPayToTaproot returns true if if the passed script is a standard
// IsPayToTaproot returns true if the passed script is a standard
// pay-to-taproot (PTTR) scripts, and false otherwise.
func IsPayToTaproot(script []byte) bool {
return isWitnessTaprootScript(script)
Expand Down

0 comments on commit d48e864

Please sign in to comment.