Skip to content

Commit 7702b92

Browse files
3esmitmichaelsbradleyjr
authored andcommitted
fix(@embark/geth): add --allow-insecure-unlock
1 parent 6dbdf63 commit 7702b92

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/plugins/geth/src/gethClient.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,7 @@ class GethClient {
337337
if (self.isDev && self.config.unlockAddressList) {
338338
// The first address is the dev account, that is automatically unlocked by the client using blank password
339339
args.push("--unlock=" + self.config.unlockAddressList.slice(1));
340+
args.push("--allow-insecure-unlock");
340341
return callback(null, "--unlock=" + self.config.unlockAddressList.slice(1));
341342
}
342343
let accountAddress = "";
@@ -353,6 +354,7 @@ class GethClient {
353354
}));
354355
}
355356
args.push("--unlock=" + accountAddress);
357+
args.push("--allow-insecure-unlock");
356358
return callback(null, "--unlock=" + accountAddress);
357359
}
358360
callback(null, "");

0 commit comments

Comments
 (0)