Skip to content

Commit

Permalink
Update interface_impl.rs (#4728)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Besancon committed Jul 17, 2024
1 parent 88823b8 commit aa7efcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions massa-execution-worker/src/interface_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1518,8 +1518,8 @@ impl Interface for InterfaceImpl {
fn get_address_category_wasmv1(&self, to_check: &str) -> Result<AddressCategory> {
let addr = Address::from_str(to_check)?;
match addr {
Address::User(_) => Ok(AddressCategory::ScAddress),
Address::SC(_) => Ok(AddressCategory::UserAddress),
Address::User(_) => Ok(AddressCategory::UserAddress),
Address::SC(_) => Ok(AddressCategory::ScAddress),
#[allow(unreachable_patterns)]
_ => Ok(AddressCategory::Unspecified),
}
Expand Down

0 comments on commit aa7efcf

Please sign in to comment.