X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fwalletdb.cpp;h=ac355abcb1415c5dbece91ccdbc4c09078752508;hb=58561410692c520d91def67c36aadf8edd992272;hp=e5d57288e8a35d4178a052393d03c534b65f570c;hpb=d41f22cb7675e8d45160511c3f45e51ba5dbbd00;p=novacoin.git diff --git a/src/walletdb.cpp b/src/walletdb.cpp index e5d5728..ac355ab 100644 --- a/src/walletdb.cpp +++ b/src/walletdb.cpp @@ -1,7 +1,8 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers +// Copyright (c) 2012 The PPCoin developers // Distributed under the MIT/X11 software license, see the accompanying -// file license.txt or http://www.opensource.org/licenses/mit-license.php. +// file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "walletdb.h" #include "wallet.h" @@ -191,7 +192,7 @@ int CWalletDB::LoadWallet(CWallet* pwallet) //printf("LoadWallet %s\n", wtx.GetHash().ToString().c_str()); //printf(" %12"PRI64d" %s %s %s\n", // wtx.vout[0].nValue, - // DateTimeStrFormat("%x %H:%M:%S", wtx.GetBlockTime()).c_str(), + // DateTimeStrFormat(wtx.GetBlockTime()).c_str(), // wtx.hashBlock.ToString().substr(0,20).c_str(), // wtx.mapValue["message"].c_str()); } @@ -367,7 +368,7 @@ void ThreadFlushWalletDB(void* parg) map::iterator mi = mapFileUseCount.find(strFile); if (mi != mapFileUseCount.end()) { - printf("%s ", DateTimeStrFormat("%x %H:%M:%S", GetTime()).c_str()); + printf("%s ", DateTimeStrFormat(GetTime()).c_str()); printf("Flushing wallet.dat\n"); nLastFlushed = nWalletDBUpdated; int64 nStart = GetTimeMillis();