summaryrefslogtreecommitdiff
path: root/xP
diff options
context:
space:
mode:
Diffstat (limited to 'xP')
-rw-r--r--xP/xP.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/xP/xP.go b/xP/xP.go
index c0c4448..188fd5d 100644
--- a/xP/xP.go
+++ b/xP/xP.go
@@ -145,8 +145,7 @@ func clientWriteError(ctx context.Context, ws *websocket.Conn, err error) bool {
b, ok := (&RelayEventMessage{
EventSeq: 0,
Data: RelayEventData{
- Interface: RelayEventDataError{
- Event: RelayEventError,
+ Variant: &RelayEventDataError{
CommandSeq: 0,
Error: err.Error(),
},