forked from TrueCloudLab/frostfs-node
[#14] Update event subscriber constructor call
Signed-off-by: Alex Vanin <alexey@nspcc.ru>support/v0.27
parent
6520d00ff0
commit
b6913394a2
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue