Skip to content

Commit

Permalink
[Build] Remove unnecessary BOOST dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrs-X committed May 10, 2018
1 parent c296b75 commit da3a6a5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5051,11 +5051,10 @@ void CWallet::ReconsiderZerocoins(std::list<CZerocoinMint>& listMintsRestored, s

string CWallet::GetUniqueWalletBackupName(bool fzpivAuto) const
{
posix_time::ptime timeLocal = posix_time::second_clock::local_time();
stringstream ssDateTime;
std::string strWalletBackupName = strprintf("%s", DateTimeStrFormat(".%Y-%m-%d-%H-%M", GetTime()));
ssDateTime << strWalletBackupName;


ssDateTime << gregorian::to_iso_extended_string(timeLocal.date()) << "-" << timeLocal.time_of_day();
return strprintf("wallet%s.dat%s", fzpivAuto ? "-autozpivbackup" : "", DateTimeStrFormat(".%Y-%m-%d-%H-%M", GetTime()));
}

Expand Down

0 comments on commit da3a6a5

Please sign in to comment.