diff --git a/pallets/duniter-account/src/lib.rs b/pallets/duniter-account/src/lib.rs index a968968a6ab1c2c54eb5cc6bb14a446032dcbf4a..7244fd3d9bfde32e320bef9f0ed205f2ce58d9ee 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) } }