Commit 3407bd79 authored by yann300's avatar yann300

standard

parent 45a16ef7
...@@ -436,7 +436,7 @@ function compileTab (container, appAPI, appEvents, opts) { ...@@ -436,7 +436,7 @@ function compileTab (container, appAPI, appEvents, opts) {
} else { } else {
alert('Metadata published successfully. You\'l find the Swarm address in the Contract details.') alert('Metadata published successfully. You\'l find the Swarm address in the Contract details.')
} }
}) })
} }
} }
} }
......
...@@ -297,11 +297,11 @@ function contractDropdown (appAPI, appEvents, instanceContainer) { ...@@ -297,11 +297,11 @@ function contractDropdown (appAPI, appEvents, instanceContainer) {
var contracts = appAPI.getContracts() var contracts = appAPI.getContracts()
var contractName = contractNames.children[contractNames.selectedIndex].innerHTML var contractName = contractNames.children[contractNames.selectedIndex].innerHTML
var contract = appAPI.getContracts()[contractName] var contract = appAPI.getContracts()[contractName]
if (contract.bytecode.length === 0) { if (contract.bytecode.length === 0) {
modalDialogCustom.alert('This contract does not implement all functions and thus cannot be created.') modalDialogCustom.alert('This contract does not implement all functions and thus cannot be created.')
return return
} }
var constructor = txHelper.getConstructorInterface(contract.interface) var constructor = txHelper.getConstructorInterface(contract.interface)
var args = createButtonInput.value var args = createButtonInput.value
......
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