Update compile-tab.js

pull/1/head
yann300 6 years ago committed by GitHub
parent 66817e8404
commit 7d0431df00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/app/tabs/compile-tab.js

@ -371,7 +371,7 @@ module.exports = class CompileTab {
if (selectContractNames.children.length > 0 && selectContractNames.selectedIndex >= 0) { if (selectContractNames.children.length > 0 && selectContractNames.selectedIndex >= 0) {
var contract = self.data.contractsDetails[selectContractNames.children[selectContractNames.selectedIndex].innerHTML] var contract = self.data.contractsDetails[selectContractNames.children[selectContractNames.selectedIndex].innerHTML]
if (contract.metadata === undefined || contract.metadata.length === 0) { if (contract.metadata === undefined || contract.metadata.length === 0) {
modalDialogCustom.alert('This contract does not implement all functions and thus cannot be published.') modalDialogCustom.alert('This contract may be abstract, not implement an abstract parent\'s methods completely or not invoke an inherited contract\'s constructor correctly.')
} else { } else {
publishOnSwarm(contract, self._deps.fileManager, function (err, uploaded) { publishOnSwarm(contract, self._deps.fileManager, function (err, uploaded) {
if (err) { if (err) {

Loading…
Cancel
Save