Skip to content
Snippets Groups Projects
Commit b02f5d6f authored by Wolfgang Welz's avatar Wolfgang Welz
Browse files

Use TransactionStored event for the zmq

parent db0aae0b
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment