Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
Fix @m-cat's nit
  • Loading branch information
louismerlin committed Oct 28, 2022
commit e0891e42bfea507b6461bbd51622715a52eb82e1
9 changes: 4 additions & 5 deletions xcm/xcm-simulator/fuzzer/src/fuzz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,11 @@ fn run_input(xcm_messages: [XcmMessage; 5]) {
_ => Parent.into(),
};
#[cfg(not(fuzzing))]
let destination_str = match xcm_message.destination % 4 {
n @ 1..=3 => format!("Parachain {n}"),
_ => "Relay Chain".to_string(),
};
#[cfg(not(fuzzing))]
{
let destination_str = match xcm_message.destination % 4 {
n @ 1..=3 => format!("Parachain {n}"),
_ => "Relay Chain".to_string(),
};
println!(" source: Parachain {}", xcm_message.source % 4);
println!(" destination: {}", destination_str);
println!(" message: {:?}", xcm_message.message);
Expand Down