Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vgonkivs committed May 17, 2022
1 parent 6e7a709 commit 9623bb5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion das/daser.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (d *DASer) Start(context.Context) error {
dasCtx, cancel := context.WithCancel(context.Background())
d.cancel = cancel

d.state.SetState(utils.Runnnig)
d.state.SetState(utils.Running)
// kick off catch-up routine manager
go d.catchUpManager(dasCtx, checkpoint)
// kick off sampling routine for recently received headers
Expand Down
2 changes: 1 addition & 1 deletion header/sync/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (s *Syncer) Start(context.Context) error {
}

ctx, cancel := context.WithCancel(context.Background())
s.serviceState.SetState(utils.Runnnig)
s.serviceState.SetState(utils.Running)
go s.syncLoop(ctx)
s.wantSync()
s.cancel = cancel
Expand Down
2 changes: 1 addition & 1 deletion libs/utils/state_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type state uint32

const (
Stopped state = iota
Runnnig
Running
)

// StateWrapper provides an interface to change an check service state
Expand Down

0 comments on commit 9623bb5

Please sign in to comment.