Skip to content

Commit

Permalink
Review findings
Browse files Browse the repository at this point in the history
  • Loading branch information
fasmat committed Aug 13, 2024
1 parent b4c7638 commit b511b16
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hare3/hare.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ type WeakCoinOutput struct {

type Opt func(*Hare)

func WithWallclock(clock clockwork.Clock) Opt {
func WithWallClock(clock clockwork.Clock) Opt {
return func(hr *Hare) {
hr.wallClock = clock
}
Expand Down
2 changes: 1 addition & 1 deletion hare3/hare_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func (n *node) withHare() *node {
n.patrol,
WithConfig(n.t.cfg),
WithLogger(logger),
WithWallclock(n.clock),
WithWallClock(n.clock),
WithTracer(tracer),
)
n.register(n.signer)
Expand Down
2 changes: 1 addition & 1 deletion hare4/hare.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func WithServer(s streamRequester) Opt {
}
}

func WithWallclock(clock clockwork.Clock) Opt {
func WithWallClock(clock clockwork.Clock) Opt {
return func(hr *Hare) {
hr.wallClock = clock
}
Expand Down
2 changes: 1 addition & 1 deletion hare4/hare_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ func (n *node) withHare() *node {
nil,
WithConfig(n.t.cfg),
WithLogger(logger),
WithWallclock(n.clock),
WithWallClock(n.clock),
WithTracer(tracer),
WithServer(n.mockStreamRequester),
WithLogger(z),
Expand Down

0 comments on commit b511b16

Please sign in to comment.