forked from near/nearcore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: split check_balance into submethods (near#11314)
Extract from check_balance the code that extracts details from receipts, transaction, and state. These submethods are extracted: - buffered_receipts() - potential_postponed_receipt_ids() - all_touched_accounts() - validator_rewards() The first two are just extracted without modification. The last two used to be intertwined. I think its cleaner to read to separate them.
- Loading branch information
Showing
1 changed file
with
127 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters