[#14] Update event subscriber constructor call
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
6520d00ff0
commit
b6913394a2
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ func (s *subscriber) SubscribeForNotification(contracts ...util.Uint160) (<-chan
|
||||||
}
|
}
|
||||||
|
|
||||||
// subscribe to contract notifications
|
// subscribe to contract notifications
|
||||||
id, err := s.client.SubscribeForExecutionNotifications(&contracts[i])
|
id, err := s.client.SubscribeForExecutionNotifications(&contracts[i], nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
// if there is some error, undo all subscriptions and return error
|
// if there is some error, undo all subscriptions and return error
|
||||||
for _, id := range notifyIDs {
|
for _, id := range notifyIDs {
|
||||||
|
|
Loading…
Reference in a new issue