Commit 01973bae authored by yann300's avatar yann300

add internalWeb3 - return the execution context web3

parent c062cde4
......@@ -536,8 +536,8 @@ function run () {
}
var transactionDebugger = new Debugger('#debugger', debugAPI, editor.event)
transactionDebugger.addProvider('vm', executionContext.vm())
transactionDebugger.addProvider('injected', executionContext.web3())
transactionDebugger.addProvider('web3', executionContext.web3())
transactionDebugger.addProvider('injected', executionContext.internalWeb3())
transactionDebugger.addProvider('web3', executionContext.internalWeb3())
transactionDebugger.switchProvider(executionContext.getProvider())
var txLogger = new TxLogger({
......
......@@ -92,6 +92,10 @@ function ExecutionContext () {
return this.isVM() ? web3VM : web3
}
this.internalWeb3 = function () {
return web3
}
this.blankWeb3 = function () {
return blankWeb3
}
......
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