remove executioncontext param from makeUdapp

pull/5370/head
Iuri Matias 5 years ago
parent 7d9c453c17
commit d93f161aed
  1. 2
      src/app.js
  2. 2
      src/app/udapp/make-udapp.js

@ -236,7 +236,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
const compilersArtefacts = new CompilersArtefacts() // store all the compilation results (key represent a compiler name)
registry.put({api: compilersArtefacts, name: 'compilersartefacts'})
const {eventsDecoder, txlistener} = makeUdapp(blockchain, udapp, executionContext, compilersArtefacts, (domEl) => mainview.getTerminal().logHtml(domEl))
const {eventsDecoder, txlistener} = makeUdapp(blockchain, udapp, compilersArtefacts, (domEl) => mainview.getTerminal().logHtml(domEl))
// ----------------- network service (resolve network id / name) ----------------------------
const networkModule = new NetworkModule(executionContext)
// ----------------- convert offset to line/column service ----------------------------

@ -18,7 +18,7 @@ function txDetailsLink (network, hash) {
}
}
export function makeUdapp (blockchain, udapp, executionContext, compilersArtefacts, logHtmlCallback) {
export function makeUdapp (blockchain, udapp, compilersArtefacts, logHtmlCallback) {
// ----------------- UniversalDApp -----------------
// TODO: to remove when possible
udapp.event.register('transactionBroadcasted', (txhash, networkName) => {

Loading…
Cancel
Save