Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix wrong rewards on changeEpoch transaction (MystenLabs#7880)
- ChangeEpoch transaction includes rewards for other addresses. This only aggregates `coinBalanceChange` related to the current address. Before <img width="455" alt="Screenshot 2023-01-30 at 3 12 19 AM" src="https://user-images.githubusercontent.com/8676844/215423700-a3e495ce-af24-4877-9bd8-633c78fcd209.png"> After <img width="447" alt="Screenshot 2023-01-30 at 3 14 31 AM" src="https://user-images.githubusercontent.com/8676844/215423719-a6a79db4-70b1-4934-99b0-d17c66c11958.png">
- Loading branch information