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:
parent
d58c50fb77
commit
64d1946fbb
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue