Skip to content

Commit

Permalink
Fixed issue (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
merendamattia committed Nov 9, 2024
1 parent 3aa69ca commit c7a4be8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/it/unipr/EVMLiSA.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ public void go(String[] args) throws Exception {
if (useCreationCode)
EVMFrontend.setUseCreationCode();

if (useStorageLive && addressSC == null) {
System.err.println("Address must be set if live storage option is activated.");
System.exit(1);
}

// Creating json output notes
JSONObject jsonOptions = new JSONObject();
jsonOptions.put("address", addressSC);
Expand Down

0 comments on commit c7a4be8

Please sign in to comment.