diff --git a/src/main/java/org/bdware/sc/ContractProcess.java b/src/main/java/org/bdware/sc/ContractProcess.java index e3cf07a..d55a54f 100644 --- a/src/main/java/org/bdware/sc/ContractProcess.java +++ b/src/main/java/org/bdware/sc/ContractProcess.java @@ -60,8 +60,8 @@ public class ContractProcess { public static ContractProcess instance; public final String cmi; - private final Set cachedRequests = new HashSet<>(); public final ContractHandler handler; + private final Set cachedRequests = new HashSet<>(); public ServiceServer server; public DesktopEngine engine; String dbPath; @@ -455,8 +455,8 @@ public class ContractProcess { JavaScriptEntry.invokeID = 0L; JavaScriptEntry.random.setSeed(Integer.parseInt(contract.getID())); JavaScriptEntry.numOfCopies = this.contract.getNumOfCopies(); - JavaScriptEntry.shadingId = - this.contract.getShadingId(); // 设置javaScriptEntry中的shadingID + JavaScriptEntry.shardingID = + this.contract.getShardingId(); // 设置javaScriptEntry中的shadingID // JavaScriptEntry String zipPath = contract.getScriptStr(); if (isArchiveFile(new File(zipPath))) {