paypro: remove logs. see #1043.

This commit is contained in:
Christopher Jeffrey 2014-08-05 13:03:04 -07:00 committed by Manuel Araoz
parent d635c87935
commit 8cbc231a06
1 changed files with 0 additions and 16 deletions

View File

@ -949,11 +949,6 @@ Wallet.prototype.receivePaymentRequest = function(options, pr, cb) {
self.emit('txProposalsUpdated');
}
self.log('You are currently on this BTC network:');
self.log(network);
self.log('The server sent you a message:');
self.log(memo);
return cb(ntxid, merchantData);
});
};
@ -1029,9 +1024,6 @@ Wallet.prototype.sendPaymentTx = function(ntxid, options, cb) {
pay = pay.serialize();
this.log('Sending Payment Message:');
this.log(pay.toString('hex'));
var buf = new ArrayBuffer(pay.length);
var view = new Uint8Array(buf);
for (var i = 0; i < pay.length; i++) {
@ -1072,9 +1064,6 @@ Wallet.prototype.receivePaymentRequestACK = function(tx, txp, ack, cb) {
var payment = ack.get('payment');
var memo = ack.get('memo');
this.log('Our payment was acknowledged!');
this.log('Message from Merchant: %s', memo);
payment = PayPro.Payment.decode(payment);
var pay = new PayPro();
payment = pay.makePayment(payment);
@ -1177,11 +1166,6 @@ Wallet.prototype.createPaymentTxSync = function(options, merchantData, unspent)
if (options.fetch) return;
this.log('');
this.log('Created transaction:');
this.log(b.tx.getStandardizedObject());
this.log('');
var myId = this.getMyCopayerId();
var now = Date.now();