Commit 4e43f499 authored by yann300's avatar yann300

remove unused code

parent 01a31054
...@@ -257,8 +257,6 @@ function contractDropdown (appAPI, appEvents, instanceContainer) { ...@@ -257,8 +257,6 @@ function contractDropdown (appAPI, appEvents, instanceContainer) {
txFormat.buildData(contract, contracts, true, constructor, args, appAPI.udapp(), appAPI.executionContext(), (error, data) => { txFormat.buildData(contract, contracts, true, constructor, args, appAPI.udapp(), appAPI.executionContext(), (error, data) => {
if (!error) { if (!error) {
txExecution.createContract(data, appAPI.udapp(), (error, txResult) => { txExecution.createContract(data, appAPI.udapp(), (error, txResult) => {
// TODO here should send the result to the dom-console
console.log('Contract creation', error, txResult)
var address = appAPI.executionContext().isVM() ? txResult.result.createdAddress : txResult.result.contractAddress var address = appAPI.executionContext().isVM() ? txResult.result.createdAddress : txResult.result.contractAddress
if (!init) { if (!init) {
instanceContainer.innerHTML = '' instanceContainer.innerHTML = ''
......
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