From b6913394a276de4ff85244c3a7f193e4bbe18003 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Thu, 27 Aug 2020 14:58:19 +0300 Subject: [PATCH] [#14] Update event subscriber constructor call Signed-off-by: Alex Vanin --- pkg/morph/subscriber/subscriber.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/morph/subscriber/subscriber.go b/pkg/morph/subscriber/subscriber.go index c71e7f4d..c52d4a34 100644 --- a/pkg/morph/subscriber/subscriber.go +++ b/pkg/morph/subscriber/subscriber.go @@ -57,7 +57,7 @@ func (s *subscriber) SubscribeForNotification(contracts ...util.Uint160) (<-chan } // subscribe to contract notifications - id, err := s.client.SubscribeForExecutionNotifications(&contracts[i]) + id, err := s.client.SubscribeForExecutionNotifications(&contracts[i], nil) if err != nil { // if there is some error, undo all subscriptions and return error for _, id := range notifyIDs {