Skip to content

Commit

Permalink
fix e2e by including missed lastpartsetheader to state
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-forbes committed Jul 2, 2021
1 parent c15f05e commit 4f064db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions statesync/stateprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ func (s *lightClientStateProvider) State(ctx context.Context, height uint64) (sm
state.LastBlockHeight = lastLightBlock.Height
state.LastBlockTime = lastLightBlock.Time
state.LastBlockID = lastLightBlock.Commit.BlockID
state.LastPartSetHeader = lastLightBlock.Commit.PartSetHeader
state.AppHash = curLightBlock.AppHash
state.LastResultsHash = curLightBlock.LastResultsHash
state.LastValidators = lastLightBlock.ValidatorSet
Expand Down

0 comments on commit 4f064db

Please sign in to comment.