Skip to content

Commit

Permalink
Fix test (#542)
Browse files Browse the repository at this point in the history
  • Loading branch information
boundless-forest authored Dec 23, 2021
1 parent 4a77d59 commit 0562ffc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frame/evm/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ fn reducible_balance() {
// Reserve some funds.
let to_lock = 1000;
Balances::set_lock(lock_id, &account_id, to_lock, WithdrawReasons::RESERVE);
// Reducible is, as currently configured in `account_basic`, (balance - lock + existential).
// Reducible is, as currently configured in `account_basic`, (balance - lock - existential).
let reducible_balance = EVM::account_basic(&evm_addr).balance;
assert_eq!(reducible_balance, (genesis_balance - to_lock + existential));
assert_eq!(reducible_balance, (genesis_balance - to_lock - existential));
});
}

Expand Down

0 comments on commit 0562ffc

Please sign in to comment.