From de617542e934e90ebc99dde39a844b8961418e69 Mon Sep 17 00:00:00 2001 From: CaiHQ Date: Sun, 24 Sep 2023 09:18:22 +0800 Subject: [PATCH] fix doiputil --- src/main/java/org/bdware/sc/boundry/utils/DOIPUtil.java | 2 +- src/main/java/org/bdware/sc/server/DoipLocalSingleton.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/bdware/sc/boundry/utils/DOIPUtil.java b/src/main/java/org/bdware/sc/boundry/utils/DOIPUtil.java index 9f59d0b..5d318a0 100644 --- a/src/main/java/org/bdware/sc/boundry/utils/DOIPUtil.java +++ b/src/main/java/org/bdware/sc/boundry/utils/DOIPUtil.java @@ -219,7 +219,7 @@ public class DOIPUtil { } public static IRPClientWrapper createIrpClient(String uri, String pubkey, String privateKey, - String repoName) { + String repoName) { EndpointConfig config = new EndpointConfig(); config.routerURI = uri; config.repoName = repoName; diff --git a/src/main/java/org/bdware/sc/server/DoipLocalSingleton.java b/src/main/java/org/bdware/sc/server/DoipLocalSingleton.java index d7eca32..1e71709 100644 --- a/src/main/java/org/bdware/sc/server/DoipLocalSingleton.java +++ b/src/main/java/org/bdware/sc/server/DoipLocalSingleton.java @@ -95,7 +95,7 @@ public class DoipLocalSingleton { DOOPRequestHandler handler = ContractProcess.instance.doopRequestHandler; server.setRequestCallback(handler); if (config != null) - SharableVarManager.initSharableVarManager(info.id, config); + SharableVarManager.initSharableVarManager(info.id, config); } catch (Exception e) { e.printStackTrace(); }