Skip to content

Commit

Permalink
Merge pull request #401 from qtumproject/toni/salvagewallet-fix
Browse files Browse the repository at this point in the history
Fix wallet salvage for token.
  • Loading branch information
qtum-neil authored Nov 6, 2017
2 parents cad991f + 9f38f93 commit 68134be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/walletdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ bool CWalletDB::Recover(CDBEnv& dbenv, const std::string& filename, bool fOnlyKe
fReadOK = ReadKeyValue(&dummyWallet, ssKey, ssValue,
wss, strType, strErr);
}
if (!IsKeyType(strType) && strType != "hdchain")
if (!IsKeyType(strType) && strType != "hdchain" && strType != "token" && strType != "tokentx")
continue;
if (!fReadOK)
{
Expand Down

0 comments on commit 68134be

Please sign in to comment.