First try at #9696

This commit is contained in:
Adi Seredinschi
2022-11-14 19:13:03 +01:00
parent d324430f82
commit 26420aeb72

View File

@@ -431,7 +431,7 @@ func (wsc *wsConnection) writeRoutine() {
return
}
case msg := <-wsc.writeChan:
jsonBytes, err := json.MarshalIndent(msg, "", " ")
jsonBytes, err := json.Marshal(msg)
if err != nil {
wsc.Logger.Error("Failed to marshal RPCResponse to JSON", "err", err)
continue