We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43da0c9 commit c15015aCopy full SHA for c15015a
node/src/actors/chain_manager/handlers.rs
@@ -1664,7 +1664,7 @@ impl Handler<QueryStakingPowers> for ChainManager {
1664
.stakes
1665
.by_rank(msg.order_by, current_epoch)
1666
.enumerate()
1667
- .map(|(index, record)| (index, record.0, record.1));
+ .map(|(index, record)| (index + 1, record.0, record.1));
1668
1669
// Skip first `offset` entries and take next `limit`.
1670
// If distinct is specified, retain just first appearance per validator.
0 commit comments