Skip to content

Commit

Permalink
Fix ZeroOnChainAddressSpecifiedFailure typo (#4240)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez authored Nov 26, 2024
1 parent f004969 commit d081fc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/iota-source-validation/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pub enum Error {
IotaObjectRefFailure(IotaObjectResponseError),

#[error("On-chain address cannot be zero")]
ZeroOnChainAddresSpecifiedFailure,
ZeroOnChainAddressSpecifiedFailure,
}

impl fmt::Display for AggregateError {
Expand Down
2 changes: 1 addition & 1 deletion crates/iota-source-validation/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ impl<'a> BytecodeSourceVerifier<'a> {
at: Some(AccountAddress::ZERO),
..
}) {
return Err(Error::ZeroOnChainAddresSpecifiedFailure.into());
return Err(Error::ZeroOnChainAddressSpecifiedFailure.into());
}

let local = mode.local(package)?;
Expand Down

0 comments on commit d081fc0

Please sign in to comment.