Skip to content

Commit

Permalink
verify returning DispatchResult
Browse files Browse the repository at this point in the history
  • Loading branch information
olegnn committed Apr 22, 2024
1 parent 4244c64 commit 7e87889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/utils/src/identity_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub trait Identity {
fn info(&self) -> &Self::Info;

/// Adds justification for the underlying identity.
fn verify(&mut self, justification: Self::Justification);
fn verify(&mut self, justification: Self::Justification) -> DispatchResult;
}

/// Provides methods to retrieve an account's identity.
Expand Down

0 comments on commit 7e87889

Please sign in to comment.