Skip to content

Commit

Permalink
fix runscript JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
spartacusrex99 committed Feb 2, 2022
1 parent c1d3921 commit 24a41ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/minima/system/commands/base/runscript.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public JSONObject runCommand() throws Exception{
JSONObject scriptclean = new JSONObject();
String cleanscript = Contract.cleanScript(script);
scriptclean.put("script", cleanscript);
scriptclean.put("address", new Address(cleanscript).getAddressData());
scriptclean.put("address", new Address(cleanscript).getAddressData().to0xString());
resp.put("clean", scriptclean);

resp.put("trace", contract.getCompleteTraceLog());
Expand Down

0 comments on commit 24a41ed

Please sign in to comment.