Skip to content

Commit

Permalink
containers: allow consignment to reveal multiple seals from terminals
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Oct 12, 2024
1 parent d25dd62 commit 9807926
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/containers/consignment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,7 @@ impl<const TRANSFER: bool> Consignment<TRANSFER> {
for mut witness_bundle in self.bundles {
for (bundle_id, secret) in &self.terminals {
if let Some(seal) = f(*secret)? {
if witness_bundle.reveal_seal(*bundle_id, seal) {
break;
}
witness_bundle.reveal_seal(*bundle_id, seal);
}
}
bundles.push(witness_bundle).ok();
Expand Down

0 comments on commit 9807926

Please sign in to comment.