Skip to content

Commit

Permalink
It's not a warning even in tests? Fuck off
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Feb 21, 2024
1 parent 650bf96 commit 876596d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/crates/soroban-rpc/src/txn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ mod tests {
Ok(asstxn) => {
let expected = (resource_fee + 100) * 115 / 100;
assert!(u32::try_from(expected).is_ok());
assert_eq!(asstxn.fee, expected as u32);
assert_eq!(asstxn.fee, u32::try_from(expected).unwrap());
}
r => panic!("expected success, got: {r:#?}"),
}
Expand Down

0 comments on commit 876596d

Please sign in to comment.