From cd99800c15c96f104380d5d84c8eee5c17046aec Mon Sep 17 00:00:00 2001 From: dragosrebegea Date: Thu, 27 Jun 2024 10:42:46 +0300 Subject: [PATCH] fix clippy --- esdt-safe/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esdt-safe/src/lib.rs b/esdt-safe/src/lib.rs index d761b69f..c1dbd0a5 100644 --- a/esdt-safe/src/lib.rs +++ b/esdt-safe/src/lib.rs @@ -343,7 +343,7 @@ pub trait EsdtSafe: updated = true; break; } - if updated == false { + if !updated { all_payments.push(new_payment); }