Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Oct 16, 2023
1 parent 16ca78e commit cc54f8a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions sdk/src/wallet/account/operations/syncing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,13 @@ where
self.request_incoming_transaction_data(transaction_ids).await?;
}

// TODO fix
if options.sync_native_token_foundries {
let native_token_foundry_ids = outputs_data
.iter()
.filter_map(|output| output.output.native_tokens())
.flat_map(|native_tokens| {
native_tokens
.iter()
.filter_map(|output| {
output
.output
.native_token()
.map(|native_token| FoundryId::from(*native_token.token_id()))
})
.collect::<HashSet<_>>();
Expand Down

0 comments on commit cc54f8a

Please sign in to comment.