Skip to content

Commit ef5870d

Browse files
committed
x
1 parent 1b58b66 commit ef5870d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chainservice/chainservice.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func New(
240240
)
241241
// staking protocol need to be put in registry before poll protocol when enabling
242242
if cfg.Chain.EnableStakingProtocol {
243-
stakingProtocol, err = staking.NewProtocol(rewarding.DepositGas, cfg.Genesis.Staking, candBucketsIndexer, cfg.Genesis.GreenlandBlockHeight)
243+
stakingProtocol, err = staking.NewProtocol(rewarding.DepositGas, cfg.Genesis.Staking, candBucketsIndexer, cfg.Chain.EnableArchiveMode, cfg.Genesis.GreenlandBlockHeight)
244244
if err != nil {
245245
return nil, err
246246
}

0 commit comments

Comments
 (0)