diff --git a/remix-lib/src/execution/txFormat.js b/remix-lib/src/execution/txFormat.js index b491a56651..abea5a745b 100644 --- a/remix-lib/src/execution/txFormat.js +++ b/remix-lib/src/execution/txFormat.js @@ -3,7 +3,6 @@ var ethJSABI = require('ethereumjs-abi') var ethJSUtil = require('ethereumjs-util') var BN = ethJSUtil.BN var helper = require('./txHelper') -var TreeView = require('remix-debugger').ui.TreeView var executionContext = require('./execution-context') module.exports = { @@ -199,22 +198,6 @@ module.exports = { return bytecodeToLink }, - decodeResponseToTreeView: function (response, fnabi) { - var treeView = new TreeView({ - extractData: (item, parent, key) => { - var ret = {} - if (BN.isBN(item)) { - ret.self = item.toString(10) - ret.children = [] - } else { - ret = treeView.extractDataDefault(item, parent, key) - } - return ret - } - }) - return treeView.render(this.decodeResponse(response, fnabi)) - }, - decodeResponse: function (response, fnabi) { // Only decode if there supposed to be fields if (fnabi.outputs && fnabi.outputs.length > 0) {