diff --git a/script.go b/script.go index e77a70d5..1da43589 100644 --- a/script.go +++ b/script.go @@ -1423,7 +1423,7 @@ type KeyDB interface { GetKey(btcutil.Address) (*ecdsa.PrivateKey, bool, error) } -// KeyClosure implements ScriptDB with a closure +// KeyClosure implements KeyDB with a closure type KeyClosure func(btcutil.Address) (*ecdsa.PrivateKey, bool, error) // GetKey implements KeyDB by returning the result of calling the closure