mirror of
https://gitee.com/BDWare/cp.git
synced 2025-01-09 17:34:08 +00:00
fix doiputil
This commit is contained in:
parent
8ffaa3f535
commit
de617542e9
@ -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;
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user