Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
CyonAlexRDX committed Sep 30, 2024
1 parent b48d113 commit 8edc023
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/recovery_securify_cache/helpers/unsecurified_entity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,6 @@ impl UnsecurifiedEntity {
}
}

impl TryFrom<UnsecurifiedEntity> for AccountAddress {
type Error = CommonError;
fn try_from(value: UnsecurifiedEntity) -> Result<Self> {
value
.address()
.into_account()
.map_err(|_| CommonError::AddressConversionError)
}
}

impl From<UnsecurifiedEntity> for AccountOrPersona {
fn from(value: UnsecurifiedEntity) -> Self {
let address = value.address();
Expand Down

0 comments on commit 8edc023

Please sign in to comment.