Merge #8061: [Wallet] Improve Wallet encapsulation

380498a Move BackupWallet to CWallet::BackupWallet (Patrick Strateman)
ecb9741 Move GetAccountBalance from rpcwallet.cpp into CWallet::GetAccountBalance (Patrick Strateman)
This commit is contained in:
Pieter Wuille
2016-05-25 18:06:23 +02:00
6 changed files with 80 additions and 78 deletions

View File

@@ -447,7 +447,7 @@ bool WalletModel::changePassphrase(const SecureString &oldPass, const SecureStri
bool WalletModel::backupWallet(const QString &filename)
{
return BackupWallet(*wallet, filename.toLocal8Bit().data());
return wallet->BackupWallet(filename.toLocal8Bit().data());
}
// Handlers for core signals