From 1617e8f3982518b924853bfc8a2fed7a90bec2ea Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Tue, 14 Nov 2023 11:58:39 +0100 Subject: [PATCH] Use InvalidUnlockConditionKind --- sdk/src/types/block/output/unlock_condition/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]