paypro: remove logs. see #1043.
This commit is contained in:
parent
d635c87935
commit
8cbc231a06
1 changed files with 0 additions and 16 deletions
|
|
@ -949,11 +949,6 @@ Wallet.prototype.receivePaymentRequest = function(options, pr, cb) {
|
||||||
self.emit('txProposalsUpdated');
|
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);
|
return cb(ntxid, merchantData);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
@ -1029,9 +1024,6 @@ Wallet.prototype.sendPaymentTx = function(ntxid, options, cb) {
|
||||||
|
|
||||||
pay = pay.serialize();
|
pay = pay.serialize();
|
||||||
|
|
||||||
this.log('Sending Payment Message:');
|
|
||||||
this.log(pay.toString('hex'));
|
|
||||||
|
|
||||||
var buf = new ArrayBuffer(pay.length);
|
var buf = new ArrayBuffer(pay.length);
|
||||||
var view = new Uint8Array(buf);
|
var view = new Uint8Array(buf);
|
||||||
for (var i = 0; i < pay.length; i++) {
|
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 payment = ack.get('payment');
|
||||||
var memo = ack.get('memo');
|
var memo = ack.get('memo');
|
||||||
|
|
||||||
this.log('Our payment was acknowledged!');
|
|
||||||
this.log('Message from Merchant: %s', memo);
|
|
||||||
|
|
||||||
payment = PayPro.Payment.decode(payment);
|
payment = PayPro.Payment.decode(payment);
|
||||||
var pay = new PayPro();
|
var pay = new PayPro();
|
||||||
payment = pay.makePayment(payment);
|
payment = pay.makePayment(payment);
|
||||||
|
|
@ -1177,11 +1166,6 @@ Wallet.prototype.createPaymentTxSync = function(options, merchantData, unspent)
|
||||||
|
|
||||||
if (options.fetch) return;
|
if (options.fetch) return;
|
||||||
|
|
||||||
this.log('');
|
|
||||||
this.log('Created transaction:');
|
|
||||||
this.log(b.tx.getStandardizedObject());
|
|
||||||
this.log('');
|
|
||||||
|
|
||||||
var myId = this.getMyCopayerId();
|
var myId = this.getMyCopayerId();
|
||||||
var now = Date.now();
|
var now = Date.now();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue