Skip to content

Commit

Permalink
spell out var name, remove println
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldjeffrey committed Jul 16, 2024
1 parent 4e021e3 commit 3847545
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mobile_verifier/tests/integrations/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,13 @@ impl MockFileSinkReceiver {
let mobile_reward = MobileRewardShare::decode(bytes.as_slice())
.expect("failed to decode expected radio reward v2");
match mobile_reward.reward {
Some(MobileReward::RadioRewardV2(r)) => {
Some(MobileReward::RadioRewardV2(reward)) => {
assert_eq!(
r.total_poc_reward(),
reward.total_poc_reward(),
radio_reward_v1.poc_reward,
"mismatch in poc rewards between v1 and v2"
);
println!("mobile_reward: {:?}\n", r);
r
reward
}
_ => panic!("failed to get radio reward"),
}
Expand Down

0 comments on commit 3847545

Please sign in to comment.