Browse Source

log total when adding new txs to the mempool

pull/1827/head v0.21.1-rc1
Anton Kaliaev 6 years ago
parent
commit
aa20c45ae9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mempool/mempool.go

+ 1
- 1
mempool/mempool.go View File

@ -293,7 +293,7 @@ func (mem *Mempool) resCbNormal(req *abci.Request, res *abci.Response) {
tx: tx,
}
mem.txs.PushBack(memTx)
mem.logger.Info("Added good transaction", "tx", TxID(tx), "res", r)
mem.logger.Info("Added good transaction", "tx", TxID(tx), "res", r, "total", mem.Size())
mem.notifyTxsAvailable()
} else {
// ignore bad transaction


Loading…
Cancel
Save