Skip to content

Commit da3a6a5

Browse files
committed
[Build] Remove unnecessary BOOST dependency
1 parent c296b75 commit da3a6a5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/wallet.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5051,11 +5051,10 @@ void CWallet::ReconsiderZerocoins(std::list<CZerocoinMint>& listMintsRestored, s
50515051

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

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

0 commit comments

Comments
 (0)