Skip to content

Commit

Permalink
Update sdk/src/types/block/output/unlock_condition/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Thoralf-M <[email protected]>
  • Loading branch information
thibault-martinez and Thoralf-M authored Jan 10, 2024
1 parent a496726 commit cefad2a
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 @@ -318,7 +318,7 @@ impl UnlockConditions {
Ok(address)
}

/// Returns an iterator over all addresses.
/// Returns an iterator over all addresses except StorageDepositReturn address.
pub fn addresses(&self) -> impl Iterator<Item = &Address> {
self.iter().filter_map(|uc| match uc {
UnlockCondition::Address(uc) => Some(uc.address()),
Expand Down

0 comments on commit cefad2a

Please sign in to comment.