Merge pull request #123 from tendermint/namereg_event

namereg event
This commit is contained in:
Jae Kwon
2015-08-10 10:29:54 -07:00
6 changed files with 67 additions and 9 deletions

View File

@ -627,6 +627,11 @@ func ExecTx(blockCache *BlockCache, tx types.Tx, runCall bool, evc events.Fireab
// TODO: maybe we want to take funds on error and allow txs in that don't do anythingi?
if evc != nil {
evc.FireEvent(types.EventStringAccInput(tx.Input.Address), tx)
evc.FireEvent(types.EventStringNameReg(tx.Name), tx)
}
return nil
case *types.BondTx: