Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EIP-7251: Flatten get_active_balance
We have both get_active_balance and get_total_active_balance which have totally different meanings, since get_active_balance uses the balance field while get_total_active_balance uses the effective_balance field. The names suggest that get_total_active_balance is the total of get_active_balance which is not true. The name of get_active_balance doesn't quite make sense and it's used only in one place, so this commit flattens the logic of get_active_balance to the place where it's used.
- Loading branch information