mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Add GetSecret() and GetKeys() to CKeyStore
This commit is contained in:
parent
4c6e22953e
commit
93db3fceac
9 changed files with 177 additions and 136 deletions
|
|
@ -595,7 +595,7 @@ Value verifymessage(const Array& params, bool fHelp)
|
|||
if (!key.SetCompactSignature(Hash(ss.begin(), ss.end()), vchSig))
|
||||
return false;
|
||||
|
||||
return (key.GetAddress() == addr);
|
||||
return (CBitcoinAddress(key.GetPubKey()) == addr);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue