Browse Source

remove temporary limit on num block transactions

pull/155/head
Jae Kwon 9 years ago
parent
commit
0a28cabd57
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      consensus/state.go

+ 0
- 4
consensus/state.go View File

@ -657,10 +657,6 @@ func (cs *ConsensusState) createProposalBlock() (block *types.Block, blockParts
return
}
txs := cs.mempoolReactor.Mempool.GetProposalTxs()
MaxTxsPerBlock := 100 // TODO
if len(txs) > MaxTxsPerBlock {
txs = txs[:MaxTxsPerBlock]
}
block = &types.Block{
Header: &types.Header{
ChainID: cs.state.ChainID,


Loading…
Cancel
Save