From c5a33b78a3f7a37fe56f25fbb7372454769785b0 Mon Sep 17 00:00:00 2001 From: "Frank.R.Wu" Date: Sat, 11 Dec 2021 19:14:01 +0800 Subject: [PATCH] fix: fix bugs in JavaScriptEntry.executeContract fix the bug in exception handling of JavaScriptEntry.executeContract --- src/main/java/org/bdware/sc/boundry/JavaScriptEntry.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/bdware/sc/boundry/JavaScriptEntry.java b/src/main/java/org/bdware/sc/boundry/JavaScriptEntry.java index 953be3d..a2f5b38 100644 --- a/src/main/java/org/bdware/sc/boundry/JavaScriptEntry.java +++ b/src/main/java/org/bdware/sc/boundry/JavaScriptEntry.java @@ -362,8 +362,7 @@ public class JavaScriptEntry { currentSyncUtil.transRecordUtil.recordExecutes( formerInvokeID + "", flag1 + "" + flag + "" + result); } - JsonObject jo = JsonUtil.parseStringAsJsonObject(result); - return JSONTool.convertJsonElementToMirror(jo); + return result; } }