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

@ -48,7 +48,7 @@ dependencies {
implementation 'com.sun.mail:javax.mail:1.6.2'
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
implementation 'org.bdware.bdcontract:sdk-java:1.0.2'
implementation 'org.bdware.doip:doip-audit-tool:1.1.4'
implementation 'org.bdware.doip:doip-audit-tool:1.1.9'
implementation 'org.bdware.doip:doip-sdk:1.3.8'
implementation fileTree(dir: 'lib', include: '*.jar')
testImplementation 'junit:junit:4.13.2'
@ -67,7 +67,7 @@ jar {
// uncomment this when publish,
// while develop at local use "false"
configurations.runtimeClasspath.filter {
// it.getAbsolutePath().contains("/lib/")
//it.getAbsolutePath().contains("/lib/")
false
}.collect {
it.isDirectory() ? it : zipTree(it)

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) {