fix doiputil

This commit is contained in:
CaiHQ 2023-09-24 09:18:22 +08:00
parent 8ffaa3f535
commit de617542e9
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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();
}