From a70d1ca14e4505bb5a457da0330b261fca0b188b Mon Sep 17 00:00:00 2001 From: "Frank.R.Wu" Date: Fri, 5 Nov 2021 14:06:04 +0800 Subject: [PATCH] fix: fix typo --- src/main/java/org/bdware/sc/ContractProcess.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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))) {