comment:script.go: ScriptDB->KeyDB
This commit is contained in:
parent
edb006c11c
commit
b89cabfb29
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue