Skip to content

Commit

Permalink
Update sdk/src/types/block/output/unlock_condition/expiration.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandcoats <[email protected]>
  • Loading branch information
thibault-martinez and Alexandcoats authored Aug 21, 2023
1 parent c17593e commit b07e52e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/src/types/block/output/unlock_condition/expiration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use derive_more::From;

use crate::types::block::{address::Address, slot::SlotIndex, Error};

/// Defines a slot index until which only Address, defined in Address Unlock Condition, is allowed to unlock the output.
/// After the slot index is reached/passed, only Return Address can unlock it.
/// Defines an expiration slot index. Before the slot index is reached, only the Address defined in the Address
/// Unlock Condition is allowed to unlock the output. Afterward, only the Return Address can unlock it.
#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, From, packable::Packable)]
pub struct ExpirationUnlockCondition {
// The address that can unlock the expired output.
Expand Down

0 comments on commit b07e52e

Please sign in to comment.