🐛 how did this bug go unnoticed for so long

This commit is contained in:
EntireTwix 2023-01-12 00:31:03 -08:00
parent dda98f346e
commit 4a41cb1ef4

View file

@ -9,7 +9,7 @@ void Log::AddTrans(const std::string &counterparty_str, bool receiving, uint32_t
if (data.size() == MAX_LOG_SIZE) if (data.size() == MAX_LOG_SIZE)
{ {
data.pop_back(); data.pop_front();
} }
data.emplace_back(counterparty_str, receiving, amount, time); data.emplace_back(counterparty_str, receiving, amount, time);
} }