mirror of
https://github.com/btcsuite/btcd.git
synced 2025-01-19 05:33:36 +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
@ -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…
Reference in New Issue
Block a user