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 24bcc77 commit 72eb1c9Copy full SHA for 72eb1c9
action/protocol/staking/viewdata.go
@@ -108,7 +108,7 @@ func (v *viewData) Snapshot() int {
108
wrapped := v.contractsStake.Wrap()
109
v.snapshots = append(v.snapshots, Snapshot{
110
size: v.candCenter.size,
111
- changes: v.candCenter.change.size(),
+ changes: len(v.candCenter.change.candidates),
112
amount: new(big.Int).Set(v.bucketPool.total.amount),
113
count: v.bucketPool.total.count,
114
contractsStake: v.contractsStake,
0 commit comments