comment:script.go: ScriptDB->KeyDB

This commit is contained in:
kac- 2014-10-05 10:19:29 +02:00
parent edb006c11c
commit b89cabfb29

View file

@ -1423,7 +1423,7 @@ type KeyDB interface {
GetKey(btcutil.Address) (*ecdsa.PrivateKey, bool, error) 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) type KeyClosure func(btcutil.Address) (*ecdsa.PrivateKey, bool, error)
// GetKey implements KeyDB by returning the result of calling the closure // GetKey implements KeyDB by returning the result of calling the closure