From cefad2a58fbdeb2f8f011d07b84494e6e49350fd Mon Sep 17 00:00:00 2001 From: Thibault Martinez Date: Wed, 10 Jan 2024 10:49:35 +0100 Subject: [PATCH] Update sdk/src/types/block/output/unlock_condition/mod.rs Co-authored-by: Thoralf-M <46689931+Thoralf-M@users.noreply.github.com> --- 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 e106ba8ca5..b3506172c1 100644 --- a/sdk/src/types/block/output/unlock_condition/mod.rs +++ b/sdk/src/types/block/output/unlock_condition/mod.rs @@ -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 { self.iter().filter_map(|uc| match uc { UnlockCondition::Address(uc) => Some(uc.address()),