mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-11 02:26:14 +00:00
remove some xxx comments and the config.mempool.recheck_empty (#2505)
* remove some XXX * config: remove Mempool.RecheckEmpty * docs: remove recheck_empty
This commit is contained in:
@@ -99,8 +99,6 @@ func (params ConsensusParams) Update(params2 *abci.ConsensusParams) ConsensusPar
|
||||
}
|
||||
|
||||
// we must defensively consider any structs may be nil
|
||||
// XXX: it's cast city over here. It's ok because we only do int32->int
|
||||
// but still, watch it champ.
|
||||
if params2.BlockSize != nil {
|
||||
res.BlockSize.MaxBytes = params2.BlockSize.MaxBytes
|
||||
res.BlockSize.MaxGas = params2.BlockSize.MaxGas
|
||||
|
||||
+2
-2
@@ -61,8 +61,8 @@ func IsVoteTypeValid(type_ byte) bool {
|
||||
}
|
||||
}
|
||||
|
||||
// Address is hex bytes. TODO: crypto.Address
|
||||
type Address = cmn.HexBytes
|
||||
// Address is hex bytes.
|
||||
type Address = crypto.Address
|
||||
|
||||
// Represents a prevote, precommit, or commit vote from validators for consensus.
|
||||
type Vote struct {
|
||||
|
||||
Reference in New Issue
Block a user