Skip to content

Commit

Permalink
Use InvalidUnlockConditionKind
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Nov 14, 2023
1 parent df8f658 commit 1617e8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/src/types/block/output/unlock_condition/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 1617e8f

Please sign in to comment.