Commit f491e6ab authored by LianaHus's avatar LianaHus Committed by yann300

linter fix

parent 0e80908f
......@@ -67,7 +67,7 @@ module.exports = class CompilerArtefacts extends Plugin {
return contractsData
}
getCompilerAbstract(file) {
getCompilerAbstract (file) {
return this.compilersArtefactsPerFile[file]
}
......
......@@ -35,7 +35,6 @@ export default class FetchAndCompile extends Plugin {
const localCompilation = () => compilersartefacts.get(contractAddress) ? compilersartefacts.get(contractAddress) : compilersartefacts.get('__last') ? compilersartefacts.get('__last') : null
console.log("localCompilation - ", localCompilation)
const resolved = compilersartefacts.get(contractAddress)
if (resolved) return resolved
if (this.unresolvedAddresses.includes(contractAddress)) return localCompilation()
......@@ -55,7 +54,6 @@ export default class FetchAndCompile extends Plugin {
// check if the contract if part of the local compilation result
const codeAtAddress = await web3.eth.getCode(contractAddress)
const compilation = localCompilation()
console.log("compilationResult= ", compilation)
if (compilation) {
let found = false
compilation.visitContracts((contract) => {
......
......@@ -27,7 +27,6 @@ class ContractDropdownUI {
listenToEvents () {
this.dropdownLogic.event.register('newlyCompiled', (success, data, source, compiler, compilerFullName, file) => {
if (!this.selectContractNames) return
this.selectContractNames.innerHTML = ''
if (success) {
......@@ -281,7 +280,7 @@ class ContractDropdownUI {
}
}
let self = this
const self = this
var promptCb = (okCb, cancelCb) => {
modalDialogCustom.promptPassphrase('Passphrase requested', 'Personal mode is enabled. Please provide passphrase of account', '', okCb, cancelCb)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment