namereg event

This commit is contained in:
Ethan Buchman
2015-08-02 22:29:35 -04:00
parent bff06ac657
commit 9b69894180
6 changed files with 67 additions and 9 deletions
+5
View File
@@ -633,6 +633,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: