pub fn remove_associated_key(account_hash: AccountHash) -> Result<(), RemoveKeyFailure> {
    let (account_hash_ptr, account_hash_size, _bytes) = to_ptr(account_hash);
    let result =
        unsafe { ext_ffi::casper_remove_associated_key(account_hash_ptr, account_hash_size) };
    if result == 0 {
        Ok(())
    } else {
        Err(RemoveKeyFailure::try_from(result).unwrap_or_revert())
    }
}
/// Removes the given [`AccountHash`] from the account's associated keys.
Removes the given [`AccountHash`] from the account's associated keys.
Removes the given [ ` AccountHash ` ] from the account ' s associated keys .
pub fn remove_associated_key(account_hash: AccountHash) -> Result<(), RemoveKeyFailure> {
    let (account_hash_ptr, account_hash_size, _bytes) = to_ptr(account_hash);
    let result =
        unsafe { ext_ffi::casper_remove_associated_key(account_hash_ptr, account_hash_size) };
    if result == 0 {
        Ok(())
    } else {
        Err(RemoveKeyFailure::try_from(result).unwrap_or_revert())
    }
}
pub fn remove_associated_key ( account_hash : AccountHash ) -> Result < ( ) , RemoveKeyFailure > { let ( account_hash_ptr , account_hash_size , _bytes ) = to_ptr ( account_hash ) ; let result = unsafe { ext_ffi :: casper_remove_associated_key ( account_hash_ptr , account_hash_size ) } ; if result == 0 { Ok ( ( ) ) } else { Err ( RemoveKeyFailure :: try_from ( result ) . unwrap_or_revert ( ) ) } }
Removes the given [`AccountHash`] from the account's associated keys.
Removes the given [ ` AccountHash ` ] from the account ' s associated keys .
account_hash
AccountHash
account_hash
AccountHash