[#14] Update event subscriber constructor call

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
Alex Vanin 2020-08-27 14:58:19 +03:00
parent 6520d00ff0
commit b6913394a2

View file

@ -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 {