Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
acud committed Oct 30, 2024
1 parent 337eff5 commit 06d65c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/presets/standalone.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion hare3/eligibility/oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06d65c5

Please sign in to comment.