Commit a5d12cdb authored by Alex Beregszaszi's avatar Alex Beregszaszi

Display the interface even if it is []

parent 7d9f7fba
......@@ -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'));
......
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