git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Wallet decryption support
[novacoin.git]
/
src
/
walletdb.cpp
diff --git
a/src/walletdb.cpp
b/src/walletdb.cpp
index
a35b091
..
ebe2003
100644
(file)
--- a/
src/walletdb.cpp
+++ b/
src/walletdb.cpp
@@
-360,6
+360,7
@@
ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
ssKey >> nID;
CMasterKey kMasterKey;
ssValue >> kMasterKey;
+
if(pwallet->mapMasterKeys.count(nID) != 0)
{
strErr = strprintf("Error reading wallet database: duplicate CMasterKey id %u", nID);