refactor joininfo extraction

This commit is contained in:
CaiHQ
2023-03-29 18:48:29 +08:00
parent 042cfae39b
commit 491cbadc4d
2 changed files with 4 additions and 3 deletions

View File

@@ -680,7 +680,8 @@ public class ContractProcess {
public void updateRepoInfo(JsonElement arg) throws Exception {
// 只有0号节点需要初始化IRP连接去updateRepoInfo
if (JavaScriptEntry.shardingID == 0) {
//just disable this part
if (JavaScriptEntry.shardingID == -1) {
// DOOP relevant logic
DoipClusterServer server = DoipClusterServer.getDOOPServerInstance();
if (server == null) {