diff --git a/config/presets/standalone.go b/config/presets/standalone.go index 7bd95f6171..f810aea227 100644 --- a/config/presets/standalone.go +++ b/config/presets/standalone.go @@ -37,7 +37,7 @@ func standalone() config.Config { conf.Sync.Interval = 3 * time.Second conf.LayersPerEpoch = 10 - conf.HARE3.Enable = true + conf.HARE3.Enable = true conf.HARE3.PreroundDelay = 1 * time.Second conf.HARE3.RoundDuration = 100 * time.Millisecond diff --git a/hare3/eligibility/oracle.go b/hare3/eligibility/oracle.go index b506c93a06..9195c614ef 100644 --- a/hare3/eligibility/oracle.go +++ b/hare3/eligibility/oracle.go @@ -97,7 +97,7 @@ type Oracle struct { db sql.Executor vrfVerifier vrfVerifier cfg Config - minerWeightFn func(ctx context.Context, layer types.LayerID, id types.NodeID) (uint64, error) + minerWeightFn func(ctx context.Context, layer types.LayerID, id types.NodeID) (uint64, error) totalWeightFn func(ctx context.Context, layer types.LayerID) (uint64, error) layersPerEpoch uint32 log *zap.Logger