From 4a41cb1ef46d0ff108c35efea9f7354cee375005 Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Thu, 12 Jan 2023 00:31:03 -0800 Subject: [PATCH] :bug: how did this bug go unnoticed for so long --- src/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log.cpp b/src/log.cpp index a87d119..69454c7 100644 --- a/src/log.cpp +++ b/src/log.cpp @@ -9,7 +9,7 @@ void Log::AddTrans(const std::string &counterparty_str, bool receiving, uint32_t if (data.size() == MAX_LOG_SIZE) { - data.pop_back(); + data.pop_front(); } data.emplace_back(counterparty_str, receiving, amount, time); }