aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoinrpc.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2011-07-11 21:30:40 +0200
committerPieter Wuille <sipa@ulyssis.org>2011-12-17 21:49:47 +0100
commit93db3fceac1bfe274bc0fd906428a20e709e2da5 (patch)
treebcf91d8c05f2b5044de557c1ef8f832528bb0de0 /src/bitcoinrpc.cpp
parent4c6e22953ef8ae0764576993088ec83d729d18f8 (diff)
Add GetSecret() and GetKeys() to CKeyStore
Diffstat (limited to 'src/bitcoinrpc.cpp')
-rw-r--r--src/bitcoinrpc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoinrpc.cpp b/src/bitcoinrpc.cpp
index bb8d8e2d77..17189040b2 100644
--- a/src/bitcoinrpc.cpp
+++ b/src/bitcoinrpc.cpp
@@ -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);
}