diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2018-07-18 12:24:36 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2018-10-20 20:29:02 -0700 |
commit | 2c6281f18042da197a49c6a59b04279829cbbbc6 (patch) | |
tree | e6edbc3c14df340d07c94812365de1a5e51d9d26 /src/script/sign.cpp | |
parent | 5c25409d6851182c5e351720cee36812c229b77a (diff) |
Add key origin support to descriptors
Diffstat (limited to 'src/script/sign.cpp')
-rw-r--r-- | src/script/sign.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/sign.cpp b/src/script/sign.cpp index 0042f35e2e..c721b20ced 100644 --- a/src/script/sign.cpp +++ b/src/script/sign.cpp @@ -686,6 +686,7 @@ bool HidingSigningProvider::GetKeyOrigin(const CKeyID& keyid, KeyOriginInfo& inf bool FlatSigningProvider::GetCScript(const CScriptID& scriptid, CScript& script) const { return LookupHelper(scripts, scriptid, script); } bool FlatSigningProvider::GetPubKey(const CKeyID& keyid, CPubKey& pubkey) const { return LookupHelper(pubkeys, keyid, pubkey); } +bool FlatSigningProvider::GetKeyOrigin(const CKeyID& keyid, KeyOriginInfo& info) const { return LookupHelper(origins, keyid, info); } bool FlatSigningProvider::GetKey(const CKeyID& keyid, CKey& key) const { return LookupHelper(keys, keyid, key); } FlatSigningProvider Merge(const FlatSigningProvider& a, const FlatSigningProvider& b) |