dummy app now returns one DeliverTx tag

This commit is contained in:
Anton Kaliaev
2017-11-29 20:30:37 -06:00
parent 66ad366a4f
commit cb9743e567
4 changed files with 12 additions and 4 deletions

View File

@ -333,5 +333,12 @@ func TestTxSearch(t *testing.T) {
results, err = c.TxSearch(fmt.Sprintf("tx.hash='%X'", anotherTxHash), false)
require.Nil(t, err, "%+v", err)
require.Len(t, results, 0)
// we query using a tag (see dummy application)
results, err = c.TxSearch("app.creator='jae'", false)
require.Nil(t, err, "%+v", err)
if len(results) == 0 {
t.Fatal("expected a lot of transactions")
}
}
}