diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/WsConnectionImpl.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/WsConnectionImpl.kt index d18129de..28922052 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/WsConnectionImpl.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/ethereum/WsConnectionImpl.kt @@ -286,13 +286,13 @@ open class WsConnectionImpl( val calls = rpcSend .asFlux() .map { - Unpooled.wrappedBuffer(it.toJson()) + it.toString() } - return outbound.send( + return outbound.sendString( Flux.merge( calls.subscribeOn(scheduler), - consumer.then(Mono.empty()).subscribeOn(scheduler), + consumer.then(Mono.empty()).subscribeOn(scheduler), ), ) }