log total when adding new txs to the mempool

This commit is contained in:
Anton Kaliaev 2018-06-26 20:13:32 +04:00
parent 70d314312c
commit aa20c45ae9
1 changed files with 1 additions and 1 deletions

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