diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-05-17 11:02:17 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-05-17 10:52:31 -0400 |
commit | 4444dbf4d5047dd1c92973f7167a74a0779e61a3 (patch) | |
tree | cfe1bef98791c7d2bb877e2a50e31b0aad83ba56 /src/qt/walletmodel.cpp | |
parent | dc5333d31f280e09bb1e8cdacfbe842f4ab9e69b (diff) | |
download | bitcoin-4444dbf4d5047dd1c92973f7167a74a0779e61a3.tar.xz |
gui: Remove un-actionable TODO
Diffstat (limited to 'src/qt/walletmodel.cpp')
-rw-r--r-- | src/qt/walletmodel.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index 70ee7f4917..2e37d35c50 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -304,16 +304,10 @@ WalletModel::EncryptionStatus WalletModel::getEncryptionStatus() const bool WalletModel::setWalletEncrypted(bool encrypted, const SecureString &passphrase) { - if(encrypted) - { - // Encrypt + if (encrypted) { return m_wallet->encryptWallet(passphrase); } - else - { - // Decrypt -- TODO; not supported yet - return false; - } + return false; } bool WalletModel::setWalletLocked(bool locked, const SecureString &passPhrase) |