From 5f6a413923200b672fc571cf58e8b0a7da4b4b46 Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Wed, 21 Apr 2021 20:28:35 -0700 Subject: [PATCH] :bug: return 0 for logs wasnt working --- include/bank.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/bank.hpp b/include/bank.hpp index 583a641..37446d6 100644 --- a/include/bank.hpp +++ b/include/bank.hpp @@ -217,10 +217,9 @@ public: res[99 - i]["from"] = l.data[i].from; res[99 - i]["amount"] = l.data[i].amount; } - res = 1; }))) { - return -1; + return -1 * users.contains(name); } return res; }