update selfadaptive commit

This commit is contained in:
CaiHQ 2023-02-24 15:41:53 +08:00
parent 95659a495d
commit 5c452333b5

View File

@ -124,7 +124,7 @@ public class SelfAdaptiveShardingExecutor extends AbstractContextContractExecuto
LOGGER.debug("receive contract request " + requestID);
executedTxs.put(requestID, false);
reqQueue.add(req);
rcb.onResult(JsonUtil.toJson(new ContractResult(ContractResult.Status.Executing,
rcb.onResult(JsonUtil.toJson(new ContractResult(ContractResult.Status.Success,
new JsonPrimitive("this request is added into blocks"))));
// if cache is full, submit
if (reqQueue.size() >= SUBMIT_LIMIT) {