mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-18 17:12:14 +11:00
💡🔥 removing legacy comments
This commit is contained in:
parent
732984a45d
commit
15ef40b143
1 changed files with 2 additions and 2 deletions
|
|
@ -6,11 +6,11 @@ void Log::AddTrans(const std::string &from, const std::string &to, uint32_t amou
|
||||||
#if MAX_LOG_SIZE == 1
|
#if MAX_LOG_SIZE == 1
|
||||||
data = std::move(Transaction(from, to, amount, time));
|
data = std::move(Transaction(from, to, amount, time));
|
||||||
#else
|
#else
|
||||||
if (data.size() == MAX_LOG_SIZE) // If we hit the max size
|
if (data.size() == MAX_LOG_SIZE)
|
||||||
{
|
{
|
||||||
data.pop_back();
|
data.pop_back();
|
||||||
}
|
}
|
||||||
data.emplace_back(from, to, amount, time); // In either case we have space under max length, move to new spot
|
data.emplace_back(from, to, amount, time);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue