From 768990b4ee3b08bc809b0a5cfb2ea7fbbaf0d6e3 Mon Sep 17 00:00:00 2001
From: bgallois <benjamin@gallois.cc>
Date: Mon, 18 Dec 2023 10:27:14 +0100
Subject: [PATCH] fix syntax

---
 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 a968968a6..7244fd3d9 100644
--- a/pallets/duniter-account/src/lib.rs
+++ b/pallets/duniter-account/src/lib.rs
@@ -336,8 +336,7 @@ where
     T: Config,
 {
     fn link_identity(account_id: T::AccountId, idty_id: IdtyIdOf<T>) -> Result<(), DispatchError> {
-        Self::do_link_identity(account_id, idty_id)?;
-        Ok(())
+        Self::do_link_identity(account_id, idty_id)
     }
 }
 
-- 
GitLab