Update compile-tab.js

pull/3094/head
yann300 6 years ago committed by GitHub
parent 51ad852829
commit f05d7d6470
  1. 2
      src/app/tabs/compile-tab.js

@ -371,7 +371,7 @@ module.exports = class CompileTab {
if (selectContractNames.children.length > 0 && selectContractNames.selectedIndex >= 0) {
var contract = self.data.contractsDetails[selectContractNames.children[selectContractNames.selectedIndex].innerHTML]
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 {
publishOnSwarm(contract, self._deps.fileManager, function (err, uploaded) {
if (err) {

Loading…
Cancel
Save