Skip to content

Commit

Permalink
Apply review results
Browse files Browse the repository at this point in the history
  • Loading branch information
techraed committed Jan 16, 2024
1 parent 86e672a commit d0d7afa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/runtime-fuzzer/src/gear_calls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,7 @@ fn config(programs: &[ProgramId], log_info: Option<String>) -> StandardGearWasmC
programs
.iter()
.copied()
.filter(|&pid| pid != ProgramId::default())
.map(|pid| pid.into()),
.filter_map(|pid| (pid != ProgramId::default()).then_some(pid.into())),
)
.map(ActorKind::ExistingAddresses)
.unwrap_or(ActorKind::Source);
Expand Down

0 comments on commit d0d7afa

Please sign in to comment.