From 42653cdcd217962b0c6b0a35434ee025dc224408 Mon Sep 17 00:00:00 2001 From: Slyghtning Date: Sat, 4 Mar 2023 22:24:28 +0100 Subject: [PATCH] txscript: fix script typos --- txscript/script.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/txscript/script.go b/txscript/script.go index ec213dd663..18723067ee 100644 --- a/txscript/script.go +++ b/txscript/script.go @@ -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)