Skip to content

Commit

Permalink
fix(baseapp): correctly set header info time on query ctx (#22732)
Browse files Browse the repository at this point in the history
  • Loading branch information
damiannolan authored Dec 3, 2024
1 parent af4b7d2 commit 371e05a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions baseapp/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -1327,6 +1327,7 @@ func (app *BaseApp) CreateQueryContextWithCheckHeader(height int64, prove, check
WithHeaderInfo(coreheader.Info{
ChainID: app.chainID,
Height: height,
Time: header.Time,
}).
WithBlockHeader(*header).
WithBlockHeight(height)
Expand Down

0 comments on commit 371e05a

Please sign in to comment.