diff --git a/libs/universal-dapp.js b/libs/universal-dapp.js index 88eed92c0e..f866c10ca8 100644 --- a/libs/universal-dapp.js +++ b/libs/universal-dapp.js @@ -134,8 +134,9 @@ UniversalDApp.prototype.getInstanceInterface = function (contract, address, $tar $events = $('
'); if (self.options.vm){ - self.vm.on('step', function(){console.log("step: ", arguments )}) - self.vm.on('afterTx', function(){ console.log("afterTx: ", arguments )}) + self.vm.on('afterTx', function(response){ + // TODO: parse/use reponse.vm.logs + }); } else { var jsInterface = web3.eth.contract(abi).at(address) var eventFilter = jsInterface.allEvents();