Skip to content

Commit

Permalink
Add root extra for Shard Accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
serejkaaa512 committed Apr 11, 2024
1 parent 7a17ace commit d9ca3d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/models/shard/shard_accounts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ impl ShardAccounts {
pub fn raw_iter(&self) -> ShardAccountsRawIter<'_> {
ShardAccountsRawIter::new(self.0.dict().root())
}

/// Gets Depth Balance Info
pub fn root_extra(&self) -> DepthBalanceInfo {
self.0.root_extra().clone()
}
}

/// Intermediate balance info.
Expand Down

0 comments on commit d9ca3d1

Please sign in to comment.