update tmsp glide

This commit is contained in:
Ethan Buchman
2016-07-06 17:14:57 -04:00
parent 4e5cdd6abb
commit e8271c8a4b
3 changed files with 3 additions and 4 deletions
+2
View File
@@ -194,6 +194,8 @@ func (mem *Mempool) resCbNormal(req *tmsp.Request, res *tmsp.Response) {
log.Info("Bad Transaction", "res", r)
// remove from cache (it might be good later)
// note this is an async callback,
// so we need to grab the lock in removeTxFromCacheMap
mem.removeTxFromCacheMap(req.GetCheckTx().Tx)
// TODO: handle other retcodes