Skip to content

Commit

Permalink
fixed unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
psorinionut committed Feb 25, 2025
1 parent 4e553f7 commit 180b1ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions locked-asset/token-unstake/tests/token_unstake_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ fn unstake_multiple_position_test() {
setup.b_mock.set_block_epoch(10 + UNBOND_EPOCHS);
// unbond ok
setup.unbond(&first_user).assert_ok();
let mut balance_after_half_unlocks = rust_biguint!(USER_BALANCE as u128 / 2 * 2000 / 10000); // 80% fee on half balance
balance_after_half_unlocks += &rust_biguint!(20u64); // rounding difference
let balance_after_half_unlocks = rust_biguint!(USER_BALANCE as u128 / 2 * 2000 / 10000); // 80% fee on half balance
setup.b_mock.check_esdt_balance(
&first_user,
BASE_ASSET_TOKEN_ID,
Expand Down

0 comments on commit 180b1ad

Please sign in to comment.