mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-20 15:04:22 +00:00
rename MaxBytes to MaxTxsTotalBytes
This commit is contained in:
+1
-1
@@ -319,7 +319,7 @@ func (mem *Mempool) CheckTx(tx types.Tx, cb func(*abci.Response)) (err error) {
|
||||
|
||||
if mem.Size() >= mem.config.Size {
|
||||
return ErrMempoolIsFull
|
||||
} else if int64(len(tx))+mem.TxsTotalBytes() > mem.config.MaxBytes {
|
||||
} else if int64(len(tx))+mem.TxsTotalBytes() > mem.config.MaxTxsTotalBytes {
|
||||
return ErrMempoolIsFull
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user