Replace bool by Result<(), dispatchError> for checks
Compare changes
+ 46
− 15
@@ -92,6 +92,18 @@ pub mod pallet {
@@ -92,6 +92,18 @@ pub mod pallet {
@@ -99,40 +111,59 @@ impl<AccountId, T: Config<I>, I: 'static> pallet_identity::traits::EnsureIdtyCal
@@ -99,40 +111,59 @@ impl<AccountId, T: Config<I>, I: 'static> pallet_identity::traits::EnsureIdtyCal