mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-18 22:35:39 +01:00
Add GetSecret() and GetKeys() to CKeyStore
This commit is contained in:
committed by
Pieter Wuille
parent
4c6e22953e
commit
93db3fceac
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user