Merge pull request #1889 from tcatm/multi-wallet

let user select wallet file with -wallet=foo.dat
This commit is contained in:
Gavin Andresen
2013-07-24 22:52:21 -07:00
3 changed files with 15 additions and 6 deletions

View File

@@ -89,7 +89,7 @@ bool OptionsModel::Upgrade()
settings.setValue("bImportFinished", true);
// Move settings from old wallet.dat (if any):
CWalletDB walletdb("wallet.dat");
CWalletDB walletdb(strWalletFile);
QList<QString> intOptions;
intOptions << "nDisplayUnit" << "nTransactionFee";