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
/
qt
/
walletmodel.cpp
diff --git
a/src/qt/walletmodel.cpp
b/src/qt/walletmodel.cpp
index
2f2ccab
..
f7658b0
100644
(file)
--- a/
src/qt/walletmodel.cpp
+++ b/
src/qt/walletmodel.cpp
@@
-302,8
+302,8
@@
bool WalletModel::setWalletEncrypted(bool encrypted, const SecureString &passphr
}
else
{
- // Decrypt -- TODO; not supported yet
- return false;
+ // Decrypt
+ return wallet->DecryptWallet(passphrase);
}
}