Skip to content

Commit ea3fd05

Browse files
committed
fmt
1 parent d773682 commit ea3fd05

2 files changed

Lines changed: 12 additions & 15 deletions

File tree

neptune-core/src/util_types/proof_of_transfer/mod.rs

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -439,19 +439,18 @@ pub async fn helper(
439439
"Can't find the UTXO in the AOCL of the given block."
440440
))
441441
} else {
442-
let sent = future::join_all(
443-
txoutputs_and_leafs_ix.iter().map(|(_, aocl_leaf_ix)| {
444-
state.lock_async(|gs| {
445-
gs.chain
446-
.archival_state()
447-
.archival_mutator_set
448-
.ams()
449-
.aocl
450-
.prove_membership_relative_to_smaller_mmr(*aocl_leaf_ix, block_aocl_numleafs)
451-
.boxed()
452-
})
442+
let sent = future::join_all(txoutputs_and_leafs_ix.iter().map(|(_, aocl_leaf_ix)| {
443+
state.lock_async(|gs| {
444+
gs.chain
445+
.archival_state()
446+
.archival_mutator_set
447+
.ams()
448+
.aocl
449+
.prove_membership_relative_to_smaller_mmr(*aocl_leaf_ix, block_aocl_numleafs)
450+
.boxed()
453451
})
454-
).await
452+
}))
453+
.await
455454
.into_iter()
456455
.zip(txoutputs_and_leafs_ix)
457456
.map(|(aocl_membership_proof, (tx_output, aocl_leaf_ix))| {
@@ -494,9 +493,7 @@ pub async fn helper(
494493

495494
Ok((
496495
block_digest,
497-
claims
498-
.zip(future::join_all(proofs).await)
499-
.collect(),
496+
claims.zip(future::join_all(proofs).await).collect(),
500497
))
501498
}
502499
}

rustc-ice-2026-06-11T13_17_47-60199.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)