From e11d151b554d8c4f8b72384309b0ccd59a5f91c7 Mon Sep 17 00:00:00 2001 From: CaiHQ Date: Mon, 1 Nov 2021 17:31:35 +0800 Subject: [PATCH] prune: delete ResultBack --- .../java/org/bdware/sc/event/clients/ContractConsumer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/bdware/sc/event/clients/ContractConsumer.java b/src/main/java/org/bdware/sc/event/clients/ContractConsumer.java index 2d6642f..cfff548 100644 --- a/src/main/java/org/bdware/sc/event/clients/ContractConsumer.java +++ b/src/main/java/org/bdware/sc/event/clients/ContractConsumer.java @@ -88,7 +88,8 @@ public class ContractConsumer implements IEventConsumer { try { ContractResult result = JsonUtil.fromJson(str, ContractResult.class); if (result.status == ContractResult.Status.Success) { - rc.onResult(null); + String retStr = null; + rc.onResult(retStr); } else if (callCount.get() == TIMEOUT_COUNT || (result.status == ContractResult.Status.Exception && result.result.toString().contains("not exported"))) {