Log the actual wallet file version
The actual wallet file version is the minversion record, not the version record.
This commit is contained in:
parent
c88e87c3b2
commit
b3d4f6c961
1 changed files with 2 additions and 1 deletions
|
@ -509,7 +509,8 @@ DBErrors WalletBatch::LoadWallet(CWallet* pwallet)
|
|||
int last_client = CLIENT_VERSION;
|
||||
ReadVersion(last_client);
|
||||
|
||||
pwallet->WalletLogPrintf("nFileVersion = %d\n", last_client);
|
||||
int wallet_version = pwallet->GetVersion();
|
||||
pwallet->WalletLogPrintf("Wallet File Version = %d\n", wallet_version > 0 ? wallet_version : last_client);
|
||||
|
||||
pwallet->WalletLogPrintf("Keys: %u plaintext, %u encrypted, %u w/ metadata, %u total. Unknown wallet records: %u\n",
|
||||
wss.nKeys, wss.nCKeys, wss.nKeyMeta, wss.nKeys + wss.nCKeys, wss.m_unknown_records);
|
||||
|
|
Loading…
Reference in a new issue