rpc: move NotaryRequestEvent to the subscriptions pkg
It is used for subscriptions only, so move it to the subscriptions pkg.
This commit is contained in:
parent
b3ea7504cb
commit
5c97e0dcf2
5 changed files with 19 additions and 17 deletions
|
@ -1705,7 +1705,7 @@ chloop:
|
|||
resp.Payload[0] = tx
|
||||
case e := <-s.notaryRequestCh:
|
||||
resp.Event = response.NotaryRequestEventID
|
||||
resp.Payload[0] = &response.NotaryRequestEvent{
|
||||
resp.Payload[0] = &subscriptions.NotaryRequestEvent{
|
||||
Type: e.Type,
|
||||
NotaryRequest: e.Data.(*payload.P2PNotaryRequest),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue