searching transaction results

This commit is contained in:
Anton Kaliaev
2017-11-26 19:16:21 -06:00
parent 16cf7a5e0a
commit ea0b205455
8 changed files with 427 additions and 31 deletions

View File

@ -299,7 +299,7 @@ func NewNode(config *cfg.Config,
for event := range ch {
// XXX: may be not perfomant to write one event at a time
txResult := event.(types.TMEventData).Unwrap().(types.EventDataTx).TxResult
txIndexer.Index(&txResult)
txIndexer.Index(&txResult, strings.Split(config.TxIndex.IndexTags, ","))
}
}()