Governance: Mnemonic import implemented for creating profile. DeepScan Bug Fixed

This commit is contained in:
Luis Fernando Molina committed 2021-08-18 12:20:43 +02:00
1 parent a42a4c025c
commit 8cd31c844d
1 file changed
-1
-1
View File
@@ -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) {