Remove unused web3 parameter from Renderer

pull/1/head
Alex Beregszaszi 8 years ago
parent 384121d5e0
commit 3181753c04
  1. 2
      src/app.js
  2. 3
      src/app/renderer.js

@ -445,7 +445,7 @@ var run = function () {
startdebugging(txResult.transactionHash)
})
var renderer = new Renderer(editor, executionContext.web3(), updateFiles, udapp, executionContext, formalVerification.event, compiler.event) // eslint-disable-line
var renderer = new Renderer(editor, updateFiles, udapp, executionContext, formalVerification.event, compiler.event) // eslint-disable-line
var staticanalysis = new StaticAnalysis(compiler.event, renderer, editor, offsetToLineColumnConverter)
$('#staticanalysisView').append(staticanalysis.render())

@ -5,9 +5,8 @@ var $ = require('jquery')
var utils = require('./utils')
var uiHelper = require('./ui-helper')
function Renderer (editor, web3, updateFiles, udapp, executionContext, formalVerificationEvent, compilerEvent) {
function Renderer (editor, updateFiles, udapp, executionContext, formalVerificationEvent, compilerEvent) {
this.editor = editor
this.web3 = web3
this.updateFiles = updateFiles
this.udapp = udapp
this.executionContext = executionContext

Loading…
Cancel
Save