mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-23 14:40:44 +01:00
txscript: Fix typo in IsUnspendable() comment
IsUnspendable allows outputs, not inputs to be pruned instantly.
This commit is contained in:
parent
52082fcbf9
commit
902f797b0c
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ func checkScriptParses(scriptVersion uint16, script []byte) error {
|
|||
}
|
||||
|
||||
// IsUnspendable returns whether the passed public key script is unspendable, or
|
||||
// guaranteed to fail at execution. This allows inputs to be pruned instantly
|
||||
// guaranteed to fail at execution. This allows outputs to be pruned instantly
|
||||
// when entering the UTXO set.
|
||||
//
|
||||
// NOTE: This function is only valid for version 0 scripts. Since the function
|
||||
|
|
Loading…
Add table
Reference in a new issue