Skip to content

Commit

Permalink
clippy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lvn-hasky-dragon committed Sep 20, 2024
1 parent 19247a6 commit b929438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contract/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ fn withdrawal_fees_check() {
let tokens = app.query_tokens(&app.better, 0).unwrap();
let market = app.query_latest_market().unwrap();
let fees = market.withdrawal_fee * Decimal256::from_ratio(bet_amount, 1u64);
let fees: Uint256 = fees.to_uint_ceil().try_into().unwrap();
let fees: Uint256 = fees.to_uint_ceil();

app.withdraw(&app.better, 0, tokens).unwrap();
let market = app.query_latest_market().unwrap();
Expand Down

0 comments on commit b929438

Please sign in to comment.