diff --git a/sdk/src/types/block/output/unlock_condition/mod.rs b/sdk/src/types/block/output/unlock_condition/mod.rs index 12b06cf791..7af78f9062 100644 --- a/sdk/src/types/block/output/unlock_condition/mod.rs +++ b/sdk/src/types/block/output/unlock_condition/mod.rs @@ -29,7 +29,7 @@ use crate::types::block::{address::Address, create_bitflags, protocol::ProtocolP #[derive(Clone, Eq, PartialEq, Hash, From, Packable)] #[packable(unpack_error = Error)] #[packable(unpack_visitor = ProtocolParameters)] -#[packable(tag_type = u8, with_error = Error::InvalidOutputKind)] +#[packable(tag_type = u8, with_error = Error::InvalidUnlockConditionKind)] pub enum UnlockCondition { /// An address unlock condition. #[packable(tag = AddressUnlockCondition::KIND)]