Skip to content

Commit

Permalink
Fix missing headers and ReadKeyValue
Browse files Browse the repository at this point in the history
  • Loading branch information
iamunick committed Jun 6, 2014
1 parent 377b1d8 commit 15cca6f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/walletdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include <iostream>
#include <fstream>

#include "walletdb.h"
#include "wallet.h"
#include <boost/filesystem.hpp>
Expand Down Expand Up @@ -397,8 +400,8 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
else if (strType == "version")
{
ssValue >> wss.nFileVersion;
if (nFileVersion == 10300)
nFileVersion = 300;
if (wss.nFileVersion == 10300)
wss.nFileVersion = 300;
}
else if (strType == "cscript")
{
Expand Down

0 comments on commit 15cca6f

Please sign in to comment.