diff --git a/crates/iota-source-validation/src/error.rs b/crates/iota-source-validation/src/error.rs index 6ddf55e1209..36cb79955fb 100644 --- a/crates/iota-source-validation/src/error.rs +++ b/crates/iota-source-validation/src/error.rs @@ -68,7 +68,7 @@ pub enum Error { IotaObjectRefFailure(IotaObjectResponseError), #[error("On-chain address cannot be zero")] - ZeroOnChainAddresSpecifiedFailure, + ZeroOnChainAddressSpecifiedFailure, } impl fmt::Display for AggregateError { diff --git a/crates/iota-source-validation/src/lib.rs b/crates/iota-source-validation/src/lib.rs index b234b850ed7..38009f1fe89 100644 --- a/crates/iota-source-validation/src/lib.rs +++ b/crates/iota-source-validation/src/lib.rs @@ -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)?;