prune: delete ResultBack

This commit is contained in:
CaiHQ 2021-11-01 17:31:35 +08:00
parent ec7ee3f302
commit e11d151b55

View File

@ -88,7 +88,8 @@ public class ContractConsumer implements IEventConsumer {
try { try {
ContractResult result = JsonUtil.fromJson(str, ContractResult.class); ContractResult result = JsonUtil.fromJson(str, ContractResult.class);
if (result.status == ContractResult.Status.Success) { if (result.status == ContractResult.Status.Success) {
rc.onResult(null); String retStr = null;
rc.onResult(retStr);
} else if (callCount.get() == TIMEOUT_COUNT || } else if (callCount.get() == TIMEOUT_COUNT ||
(result.status == ContractResult.Status.Exception && (result.status == ContractResult.Status.Exception &&
result.result.toString().contains("not exported"))) { result.result.toString().contains("not exported"))) {