From bf1a904c8410d0c34f9dd390a2a5b869c1913b13 Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Tue, 1 Jun 2021 16:53:22 -0700 Subject: [PATCH] :bug --- include/log.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/log.hpp b/include/log.hpp index 86e32a2..5341036 100644 --- a/include/log.hpp +++ b/include/log.hpp @@ -31,7 +31,7 @@ struct Log Json::Value Serialize() const { Json::Value res; - for (uint32_t i = 0; i < end + 1; ++i) + for (uint32_t i = 0; i < end; ++i) { res[i]["to"] = data[i].to; res[i]["from"] = data[i].from;