mirror of https://github.com/embarklabs/embark.git
fix(@embark/geth): add --allow-insecure-unlock
This commit is contained in:
parent
6dbdf63aeb
commit
7702b92cf3
|
@ -337,6 +337,7 @@ class GethClient {
|
||||||
if (self.isDev && self.config.unlockAddressList) {
|
if (self.isDev && self.config.unlockAddressList) {
|
||||||
// The first address is the dev account, that is automatically unlocked by the client using blank password
|
// 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("--unlock=" + self.config.unlockAddressList.slice(1));
|
||||||
|
args.push("--allow-insecure-unlock");
|
||||||
return callback(null, "--unlock=" + self.config.unlockAddressList.slice(1));
|
return callback(null, "--unlock=" + self.config.unlockAddressList.slice(1));
|
||||||
}
|
}
|
||||||
let accountAddress = "";
|
let accountAddress = "";
|
||||||
|
@ -353,6 +354,7 @@ class GethClient {
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
args.push("--unlock=" + accountAddress);
|
args.push("--unlock=" + accountAddress);
|
||||||
|
args.push("--allow-insecure-unlock");
|
||||||
return callback(null, "--unlock=" + accountAddress);
|
return callback(null, "--unlock=" + accountAddress);
|
||||||
}
|
}
|
||||||
callback(null, "");
|
callback(null, "");
|
||||||
|
|
Loading…
Reference in New Issue