Governance: Mnemonic import implemented for creating profile. DeepScan Bug Fixed
This commit is contained in:
1 parent
a42a4c025c
commit
8cd31c844d
1 file changed
-1
@@ -241,7 +241,6 @@ exports.newWeb3Server = function newWeb3Server() {
|
||||
async function mnemonicToPrivateKey(mnemonic) {
|
||||
try {
|
||||
const ethers = require('ethers')
|
||||
const web3 = new Web3()
|
||||
let wallet = ethers.Wallet.fromMnemonic(mnemonic)
|
||||
|
||||
if (wallet.privateKey !== undefined) {
|
||||
|
||||
Reference in new issue
Block a user