remove uneeded debugHash

pull/2781/head
yann300 2 years ago committed by Aniket
parent 2cea779c93
commit b47f1456e1
  1. 5
      apps/debugger/src/app/debugger-api.ts

@ -8,8 +8,6 @@ export const DebuggerApiMixin = (Base) => class extends Base {
initialWeb3 initialWeb3
initDebuggerApi () { initDebuggerApi () {
this.debugHash = null
const self = this const self = this
this.web3Provider = { this.web3Provider = {
sendAsync (payload, callback) { sendAsync (payload, callback) {
@ -132,7 +130,6 @@ export const DebuggerApiMixin = (Base) => class extends Base {
} catch (e) { } catch (e) {
console.error(e) console.error(e)
} }
this.debugHash = hash
if (web3) this._web3 = web3 if (web3) this._web3 = web3
else this._web3 = this.initialWeb3 else this._web3 = this.initialWeb3
remixDebug.init.extendWeb3(this._web3) remixDebug.init.extendWeb3(this._web3)
@ -161,7 +158,7 @@ export const DebuggerApiMixin = (Base) => class extends Base {
onStopDebugging () { onStopDebugging () {
this.call('layout', 'resetSidePanel') this.call('layout', 'resetSidePanel')
} }
} }
export class CompilerAbstract implements CompilationOutput { // this is a subset of /remix-ide/src/app/compiler/compiler-abstract.js export class CompilerAbstract implements CompilationOutput { // this is a subset of /remix-ide/src/app/compiler/compiler-abstract.js

Loading…
Cancel
Save