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