From 7ce3c0f7d4a895e129e8ccefd4991ff58bb4b2e3 Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Fri, 9 Apr 2021 16:47:22 -0700 Subject: [PATCH] :racehorse: removed contains check in SendFunds --- include/bank.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bank.hpp b/include/bank.hpp index 9db3339..e2147a9 100644 --- a/include/bank.hpp +++ b/include/bank.hpp @@ -65,7 +65,7 @@ public: { //cant send money to self, from self - if (a_name == b_name || !users.contains(a_name) || !users.contains(b_name)) + if (a_name == b_name) { return false; }