Skip to content

Commit

Permalink
Removed redundant info from log message when maxbytes=0 (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
omritoptix authored Feb 12, 2023
1 parent d1721c3 commit 39e64d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion state/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (e *BlockExecutor) UpdateStateFromResponses(resp *tmstate.ABCIResponses, st
e.logger.Debug("updates to validators", "updates", tmtypes.ValidatorListString(validatorUpdates))
}
if state.ConsensusParams.Block.MaxBytes == 0 {
e.logger.Error("maxBytes=0", "state.ConsensusParams.Block", state.ConsensusParams.Block, "block", block)
e.logger.Error("maxBytes=0", "state.ConsensusParams.Block", state.ConsensusParams.Block)
}

state, err = e.updateState(state, block, resp, validatorUpdates)
Expand Down

0 comments on commit 39e64d7

Please sign in to comment.