Skip to content

Commit

Permalink
adds a todo about setting timeouts in stateSync
Browse files Browse the repository at this point in the history
  • Loading branch information
staheri14 committed Sep 27, 2024
1 parent b8b7b5a commit d48a120
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions statesync/stateprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,10 @@ func (s *lightClientStateProvider) State(ctx context.Context, height uint64) (sm
state.ConsensusParams = result.ConsensusParams
state.LastHeightConsensusParamsChanged = currentLightBlock.Height

// TODO assign timeouts
// state.TimeoutPropose
// state.TimeoutCommit

return state, nil
}

Expand Down

0 comments on commit d48a120

Please sign in to comment.