update tmsp glide

This commit is contained in:
Ethan Buchman 2016-07-06 17:09:40 -04:00
parent 4e5cdd6abb
commit e8271c8a4b
3 changed files with 3 additions and 4 deletions

2
glide.lock generated
View File

@ -84,7 +84,7 @@ imports:
subpackages:
- term
- name: github.com/tendermint/tmsp
version: f41bc5f11969e22b357d94b4247403fd62d40445
version: 49a67aee8a7984a68eabe2c45ff6eb0ff51e31f9
subpackages:
- client
- example/dummy

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

View File

@ -13,9 +13,6 @@ function sendTx() {
CODE=`echo $RESPONSE | jq .result[1].code`
ERROR=`echo $RESPONSE | jq .error`
ERROR=$(echo "$ERROR" | tr -d '"') # remove surrounding quotes
echo "ERROR: $ERROR"
echo "CODE: $CODE"
echo ""
}
# 0 should pass once and get in block, with no error