Commit 98bbac12 authored by Alex Beregszaszi's avatar Alex Beregszaszi

Exclude abstract (interface) contracts from the right hand panel

parent 55767323
......@@ -152,6 +152,12 @@ UniversalDApp.prototype.render = function () {
self.$el.append(self.getABIInputForm());
} else {
for (var c in self.contracts) {
// This is an abstract contract. Do not display.
// FIXME: maybe have a flag for this in the JSON?
if (self.contracts[c].bytecode.length === 0) {
continue;
}
var $contractEl = $('<div class="contract"/>');
if (self.contracts[c].address) {
......
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