Skip to content

Commit 70ecb5f

Browse files
author
Yutong Pei
authored
calculate bootstrap candidate bucket in bucket pool (iotexproject#2313)
1 parent f42dcae commit 70ecb5f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

action/protocol/staking/protocol.go

+3
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ func (p *Protocol) CreateGenesisStates(
189189
if err := csm.Upsert(c); err != nil {
190190
return err
191191
}
192+
if err := csm.DebitBucketPool(selfStake, true, false); err != nil {
193+
return err
194+
}
192195
}
193196

194197
// commit updated view

0 commit comments

Comments
 (0)