Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
brewmaster012 committed Nov 7, 2023
1 parent 135ed2c commit 4eae338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/observer/keeper/msg_server_add_block_header.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (k msgServer) AddBlockHeader(goCtx context.Context, msg *types.MsgAddBlockH
return nil, cosmoserrors.Wrap(types.ErrBlockAlreadyExist, fmt.Sprintf("block hash: %x", msg.BlockHash))
}

// if parent block header is not found, this tx is rejected
// if BlockHeaderState exists and parent block header is not found, this tx is rejected
// if no BlockHeaderState is found, allow this vote to pass through to create and initialize
// the Earliest/Latest height with this block header (after voting, not here)
// if BlockHeaderState is found, check if the block height is valid
Expand Down

0 comments on commit 4eae338

Please sign in to comment.