log invalid txs

This commit is contained in:
Ethan Buchman
2016-01-31 20:00:02 -05:00
parent 24af8e3da2
commit c0024cc7b2
2 changed files with 2 additions and 1 deletions

View File

@ -70,6 +70,7 @@ func (s *State) execBlockOnProxyApp(evsw *events.EventSwitch, proxyAppConn proxy
if res.Code == tmsp.RetCodeOK {
validTxs += 1
} else {
log.Debug("Invalid tx", "code", res.Code, "log", res.Log)
invalidTxs += 1
}
}