From e6ab0dc7aaa2c5b450c68e9b67980f6d83fcedcf Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 12 Jan 2017 03:36:35 +0000 Subject: [PATCH] Add dummy publishContract listener --- src/app.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app.js b/src/app.js index 0d85a15611..d093b64e5b 100644 --- a/src/app.js +++ b/src/app.js @@ -645,6 +645,11 @@ var run = function () { startdebugging(txResult.transactionHash) }) + udapp.event.register('publishContract', this, function (contract) { + console.log('Publish contract...', contract) + alert('Publishing a contract is not supported yet.') + }) + // ----------------- Renderer ----------------- var transactionContextAPI = { getAddress: (cb) => {