From 49c1c9d35ec1f9110e258018ee3e1b7257510ff2 Mon Sep 17 00:00:00 2001 From: Yordan Atanasov Date: Thu, 19 Sep 2024 15:23:21 +0300 Subject: [PATCH] chore: Merge dev. --- src/main/java/com/limechain/Main.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/limechain/Main.java b/src/main/java/com/limechain/Main.java index 3ac6adcb4..dae19f372 100644 --- a/src/main/java/com/limechain/Main.java +++ b/src/main/java/com/limechain/Main.java @@ -2,8 +2,12 @@ import com.limechain.client.HostNode; import com.limechain.client.LightClient; +import com.limechain.rpc.WsRpcClient; +import com.limechain.rpc.WsRpcClientImpl; import com.limechain.rpc.server.RpcApp; import com.limechain.utils.DivLogger; +import org.teavm.jso.JSBody; +import org.teavm.jso.core.JSString; import java.util.logging.Level; @@ -14,7 +18,6 @@ public class Main { private static final DivLogger log = new DivLogger(); public static void main(String[] args) { - exportHttpRpc(RpcClient::sendRpcRequest, JSString.valueOf(HTTP_RPC)); exportWsRpc(new WsRpcClientImpl(), JSString.valueOf(WS_RPC)); log.log("Starting LimeChain node...");