From 7702b92cf31926d3412b8b238804953a34ee419c Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt Date: Fri, 7 Aug 2020 10:48:09 -0300 Subject: [PATCH] fix(@embark/geth): add --allow-insecure-unlock --- packages/plugins/geth/src/gethClient.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/plugins/geth/src/gethClient.js b/packages/plugins/geth/src/gethClient.js index 57f01e307..358c6afc0 100644 --- a/packages/plugins/geth/src/gethClient.js +++ b/packages/plugins/geth/src/gethClient.js @@ -337,6 +337,7 @@ class GethClient { if (self.isDev && self.config.unlockAddressList) { // The first address is the dev account, that is automatically unlocked by the client using blank password args.push("--unlock=" + self.config.unlockAddressList.slice(1)); + args.push("--allow-insecure-unlock"); return callback(null, "--unlock=" + self.config.unlockAddressList.slice(1)); } let accountAddress = ""; @@ -353,6 +354,7 @@ class GethClient { })); } args.push("--unlock=" + accountAddress); + args.push("--allow-insecure-unlock"); return callback(null, "--unlock=" + accountAddress); } callback(null, "");