Skip to content

Commit

Permalink
chore: revert gRPC block height header.
Browse files Browse the repository at this point in the history
Signed-off-by: zemyblue <[email protected]>
  • Loading branch information
zemyblue committed Jul 22, 2022
1 parent 1bc3aac commit 3682efe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/grpc/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ func (s *IntegrationTestSuite) TestGRPCServer_BroadcastTx() {
}

// Test and enforce that we upfront reject any connections to baseapp containing
// invalid initial x-lbm-block-height that aren't positive and in the range [0, max(int64)]
// invalid initial x-cosmos-block-height that aren't positive and in the range [0, max(int64)]
// See issue https://github.com/cosmos/cosmos-sdk/issues/7662.
func (s *IntegrationTestSuite) TestGRPCServerInvalidHeaderHeights() {
t := s.T()
Expand Down
2 changes: 1 addition & 1 deletion types/grpc/headers.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package grpc

const (
// GRPCBlockHeightHeader is the gRPC header for block height.
GRPCBlockHeightHeader = "x-lbm-block-height"
GRPCBlockHeightHeader = "x-cosmos-block-height"
)

0 comments on commit 3682efe

Please sign in to comment.