From 244bc34edd3fd7812fda962f91de38e6b389c43e Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 1 Sep 2016 02:52:32 +0100 Subject: [PATCH] Place the opcodes table after the runtime bytecode --- src/app/ui-helper.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/ui-helper.js b/src/app/ui-helper.js index 364bc78c44..2ba4cb464d 100644 --- a/src/app/ui-helper.js +++ b/src/app/ui-helper.js @@ -132,10 +132,6 @@ module.exports = { var details = $('
') .append(this.tableRow('Solidity Interface', contract.solidity_interface)); - if (contract.opcodes !== '') { - details.append(this.tableRow('Opcodes', contract.opcodes)); - } - var funHashes = ''; for (var fun in contract.functionHashes) { funHashes += contract.functionHashes[fun] + ' ' + fun + '\n'; @@ -151,6 +147,10 @@ module.exports = { details.append(this.tableRow('Runtime Bytecode', contract.runtimeBytecode)); } + if (contract.opcodes !== '') { + details.append(this.tableRow('Opcodes', contract.opcodes)); + } + if (contract.assembly !== null) { details.append(this.preRow('Assembly', this.formatAssemblyText(contract.assembly, '', source))); }