From a5d12cdb6099b1344c59c850c9513fbe6f69f57e Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Fri, 29 Jul 2016 18:30:56 +0100 Subject: [PATCH] Display the interface even if it is [] --- src/app/renderer.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/renderer.js b/src/app/renderer.js index 65e999a41c..894040b2cd 100644 --- a/src/app/renderer.js +++ b/src/app/renderer.js @@ -77,9 +77,7 @@ function Renderer (editor, executionContext, updateFiles, transactionDebugger) { if (contract.bytecode) { $contractOutput.append(textRow('Bytecode', contract.bytecode)); } - if ((contract['interface'] !== '[]\n') && (contract['interface'] !== '[]')) { - $contractOutput.append(textRow('Interface', contract['interface'])); - } + $contractOutput.append(textRow('Interface', contract['interface'])); if (contract.bytecode) { $contractOutput.append(textRow('Web3 deploy', gethDeploy(contractName.toLowerCase(), contract['interface'], contract.bytecode), 'deploy')); $contractOutput.append(textRow('uDApp', combined(contractName, contract['interface'], contract.bytecode), 'deploy'));