rpc: fix Matches and marshalling for notification events

Close #1494. Marshalling went wrong due to the incorrect pointers usage.
Reproduced and fixed.
This commit is contained in:
Anna Shaleva 2020-10-19 13:44:20 +03:00
parent d58c50fb77
commit 64d1946fbb
3 changed files with 3 additions and 3 deletions

View file

@ -1244,7 +1244,7 @@ chloop:
resp.Payload[0] = execution
case notification := <-s.notificationCh:
resp.Event = response.NotificationEventID
resp.Payload[0] = *notification
resp.Payload[0] = notification
case tx := <-s.transactionCh:
resp.Event = response.TransactionEventID
resp.Payload[0] = tx