From 196a6edd706a90f654813a41ca16408cb172dfda Mon Sep 17 00:00:00 2001
From: Hugo Trentesaux <hugo@trentesaux.fr>
Date: Thu, 14 Sep 2023 15:39:24 +0200
Subject: [PATCH] fix clippy
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

°_°
---
 pallets/duniter-account/src/lib.rs | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/pallets/duniter-account/src/lib.rs b/pallets/duniter-account/src/lib.rs
index 00caa3289..9f972a033 100644
--- a/pallets/duniter-account/src/lib.rs
+++ b/pallets/duniter-account/src/lib.rs
@@ -111,8 +111,7 @@ pub mod pallet {
             // ensure no duplicate
             let endowed_accounts = self
                 .accounts
-                .iter()
-                .map(|(x, _)| x)
+                .keys()
                 .cloned()
                 .collect::<std::collections::BTreeSet<_>>();
 
-- 
GitLab