Commit d885fba8 authored by d11e9's avatar d11e9

remove extranious console logs from universal-dapp

parent e40fe963
...@@ -252,7 +252,6 @@ UniversalDApp.prototype.getCallButton = function(args) { ...@@ -252,7 +252,6 @@ UniversalDApp.prototype.getCallButton = function(args) {
function testResult (err, address) { function testResult (err, address) {
if (!err && !address) { if (!err && !address) {
console.log( "Polling for tx receipt....")
setTimeout( function(){ tryTillResponse(txhash, done) }, 500) setTimeout( function(){ tryTillResponse(txhash, done) }, 500)
} else done( err, address ) } else done( err, address )
} }
...@@ -301,9 +300,6 @@ UniversalDApp.prototype.runTx = function( data, args, cb) { ...@@ -301,9 +300,6 @@ UniversalDApp.prototype.runTx = function( data, args, cb) {
var to = args.address; var to = args.address;
var constant = args.abi.constant; var constant = args.abi.constant;
var isConstructor = args.bytecode !== undefined; var isConstructor = args.bytecode !== undefined;
console.log( "runtx (" + args.abi.name + ") data: ", data )
console.log( "runtx (" + args.abi.name + ") to:", to )
if (!this.vm) { if (!this.vm) {
if (constant && !isConstructor) { if (constant && !isConstructor) {
...@@ -316,7 +312,6 @@ UniversalDApp.prototype.runTx = function( data, args, cb) { ...@@ -316,7 +312,6 @@ UniversalDApp.prototype.runTx = function( data, args, cb) {
data: data, data: data,
gas: 1000000 gas: 1000000
}, function(err, resp) { }, function(err, resp) {
console.log( 'sendTx callback:', err, resp )
cb( err, resp ) cb( err, resp )
}) })
} }
......
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