Skip to content

Commit

Permalink
!fixup fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dmkozh committed Mar 5, 2024
1 parent e34d908 commit 5066ef0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/crates/soroban-rpc/src/txn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ mod tests {
//
// 1. Given a near-max (u32::MAX - 100) resource fee make sure the tx
// fee does not overflow after adding the base inclusion fee (100).
// 2. Given a large resource fee that WILL exceed u32::MAX with the
// 2. Given a large resource fee that WILL exceed u32::MAX with the
// base inclusion fee, ensure the overflow is caught with an error
// rather than silently ignored.
let txn = single_contract_fn_transaction();
Expand All @@ -748,7 +748,7 @@ mod tests {
r => panic!("expected success, got: {r:#?}"),
}

// 2: combo overflows, should throw
// 2: combo overflows, should throw
response.min_resource_fee = (u32::MAX - 99).into();

match assemble(&txn, &response) {
Expand All @@ -757,6 +757,6 @@ mod tests {
assert_eq!(expected, fee, "expected {expected} != {fee} actual");
}
r => panic!("expected LargeFee error, got: {r:#?}"),
}
}
}
}

0 comments on commit 5066ef0

Please sign in to comment.