Skip to content

Commit

Permalink
fix(stakes): add missing doc
Browse files Browse the repository at this point in the history
  • Loading branch information
drcpu-github committed Jun 28, 2024
1 parent 39ab0fa commit 62dce76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions data_structures/src/staking/stakes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ where
}
}

/// Rebuild stakes tracker using by_key entries
pub fn with_entries(
entries: BTreeMap<StakeKey<Address>, SyncStake<Address, Coins, Epoch, Power>>,
) -> Self {
Expand Down

0 comments on commit 62dce76

Please sign in to comment.