Commit 17e6f6ee authored by Alex Beregszaszi's avatar Alex Beregszaszi

Do not display empty Functions block

parent cdfb8c73
......@@ -141,7 +141,9 @@ module.exports = {
for (var fun in contract.functionHashes) {
funHashes += contract.functionHashes[fun] + ' ' + fun + '\n'
}
details.append(this.preRow('Functions', funHashes))
if (funHashes.length > 0) {
details.append(this.preRow('Functions', funHashes))
}
var gasEstimates = this.formatGasEstimates(contract.gasEstimates)
if (gasEstimates) {
......
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