Merge pull request #62 from p2p-org/fix/ws-request-selectors

Serialize WS JSONRpc requests correctly
This commit is contained in:
Vyacheslav Shebanov
2022-12-05 12:40:05 +02:00
committed by GitHub

View File

@@ -265,7 +265,7 @@ open class WsConnection(
val calls = rpcSend val calls = rpcSend
.asFlux() .asFlux()
.map { .map {
Unpooled.wrappedBuffer(Global.objectMapper.writeValueAsBytes(it)) Unpooled.wrappedBuffer(it.toJson())
} }
return outbound.send( return outbound.send(