paypro: remove debug code.
This commit is contained in:
parent
feaa71c951
commit
28459c2d4e
1 changed files with 0 additions and 9 deletions
|
|
@ -1015,9 +1015,6 @@ Wallet.prototype.receivePaymentRequest = function(options, pr, cb) {
|
||||||
total: bignum('0', 10).toString(10)
|
total: bignum('0', 10).toString(10)
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log('receivePaymentRequest');
|
|
||||||
console.log(merchantData);
|
|
||||||
|
|
||||||
return this.getUnspent(function(err, unspent) {
|
return this.getUnspent(function(err, unspent) {
|
||||||
if (options.fetch) {
|
if (options.fetch) {
|
||||||
self.createPaymentTxSync(options, merchantData, unspent);
|
self.createPaymentTxSync(options, merchantData, unspent);
|
||||||
|
|
@ -1190,9 +1187,6 @@ Wallet.prototype.createPaymentTxSync = function(options, merchantData, unspent)
|
||||||
var signed = b.sign(keys);
|
var signed = b.sign(keys);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('createPaymentTxSync:1');
|
|
||||||
console.log(merchantData);
|
|
||||||
|
|
||||||
if (typeof merchantData.total === 'string') {
|
if (typeof merchantData.total === 'string') {
|
||||||
merchantData.total = bignum(merchantData.total, 10);
|
merchantData.total = bignum(merchantData.total, 10);
|
||||||
}
|
}
|
||||||
|
|
@ -1233,9 +1227,6 @@ Wallet.prototype.createPaymentTxSync = function(options, merchantData, unspent)
|
||||||
|
|
||||||
merchantData.total = merchantData.total.toString(10);
|
merchantData.total = merchantData.total.toString(10);
|
||||||
|
|
||||||
console.log('createPaymentTxSync:2');
|
|
||||||
console.log(merchantData);
|
|
||||||
|
|
||||||
if (options.fetch) return;
|
if (options.fetch) return;
|
||||||
|
|
||||||
this.log('');
|
this.log('');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue