Permalink
Browse files

Fix missing headers and ReadKeyValue

  • Loading branch information...
iamunick committed Jun 6, 2014
1 parent 377b1d8 commit 15cca6f0aef66936865b63de847cb44b9446cdb9
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/walletdb.cpp
View
@@ -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>
@@ -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")
{

0 comments on commit 15cca6f

Please sign in to comment.