diff --git a/plugins/zeromq/plugin.go b/plugins/zeromq/plugin.go index c5299c7120cc83fd37f9f5f1b0e8ab27abcb4feb..7d4472cd88a51446bd85fa5281a79b1dce7f3024 100644 --- a/plugins/zeromq/plugin.go +++ b/plugins/zeromq/plugin.go @@ -30,8 +30,7 @@ func configure(plugin *node.Plugin) { } })) - // TODO: should be tangle.Events.TransactionStored - tangle.Events.TransactionSolid.Attach(events.NewClosure(func(tx *value_transaction.ValueTransaction) { + tangle.Events.TransactionStored.Attach(events.NewClosure(func(tx *value_transaction.ValueTransaction) { // create goroutine for every event go func() { if err := publishTx(tx); err != nil {