Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CostinCarabas committed Jan 12, 2024
1 parent a118af9 commit fdc93be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions locked-asset/lkmex-transfer/tests/lkmex_transfer_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ fn transfer_locked_token_after_unlock_period_test() {
let unlock_epoch = sc.unlock_epoch_to_start_of_month(5 + LOCK_OPTIONS[0]);
let lock_epochs = unlock_epoch as i64 - current_epoch as i64;
let expected_energy_amount =
BigInt::from((USER_BALANCE / 2) as i64) * BigInt::from(lock_epochs as i64);
BigInt::from((USER_BALANCE / 2) as i64) * BigInt::from(lock_epochs);
let expected_energy = Energy::new(
expected_energy_amount,
current_epoch,
Expand All @@ -806,7 +806,7 @@ fn transfer_locked_token_after_unlock_period_test() {
let unlock_epoch = sc.unlock_epoch_to_start_of_month(5 + LOCK_OPTIONS[0]);
let lock_epochs = unlock_epoch as i64 - current_epoch as i64;
let expected_energy_amount =
BigInt::from((USER_BALANCE / 2) as i64) * BigInt::from(lock_epochs as i64);
BigInt::from((USER_BALANCE / 2) as i64) * BigInt::from(lock_epochs);
let expected_energy = Energy::new(
expected_energy_amount,
current_epoch,
Expand Down

0 comments on commit fdc93be

Please sign in to comment.