From 105c3bb0c684ce1fd1490d71fad1b1fb36269292 Mon Sep 17 00:00:00 2001 From: gosticks Date: Mon, 15 Jan 2018 19:45:37 +0100 Subject: [PATCH] small patch --- src/main/java/iotaFlashWrapper/IotaFlashBridge.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main/java/iotaFlashWrapper/IotaFlashBridge.java b/src/main/java/iotaFlashWrapper/IotaFlashBridge.java index 1d805ad..c28a3a8 100644 --- a/src/main/java/iotaFlashWrapper/IotaFlashBridge.java +++ b/src/main/java/iotaFlashWrapper/IotaFlashBridge.java @@ -9,8 +9,6 @@ import java.io.IOException; import java.net.URL; import java.nio.charset.Charset; -import java.nio.file.Files; -import java.nio.file.Paths; import java.util.ArrayList; import java.util.List; import java.util.Map; @@ -27,7 +25,6 @@ public class IotaFlashBridge { public static void boot() throws IOException { String file = readFile(iotaLibPath, Charset.defaultCharset()); - engine = V8.createV8Runtime(); // Eval lib into current v8 context. engine.executeVoidScript(file); @@ -306,8 +303,7 @@ public static FlashObject applyTransfersToUser(UserObject user, ArrayList