paypro: remove old code.
This commit is contained in:
parent
61ef19ad19
commit
d7ec908701
1 changed files with 0 additions and 8 deletions
|
|
@ -843,12 +843,9 @@ Wallet.prototype.receivePaymentRequest = function(tx, options, pr, cb) {
|
||||||
pr: {
|
pr: {
|
||||||
payment_details_version: ver,
|
payment_details_version: ver,
|
||||||
pki_type: pki_type,
|
pki_type: pki_type,
|
||||||
// pki_data: pki_data.toString('hex'),
|
|
||||||
pki_data: certs,
|
pki_data: certs,
|
||||||
// serialized_payment_details: details.serialize().toString('hex'),
|
|
||||||
pd: {
|
pd: {
|
||||||
network: network,
|
network: network,
|
||||||
// outputs: outputs,
|
|
||||||
outputs: outputs.map(function(output) {
|
outputs: outputs.map(function(output) {
|
||||||
return {
|
return {
|
||||||
amount: output.get('amount'),
|
amount: output.get('amount'),
|
||||||
|
|
@ -862,7 +859,6 @@ Wallet.prototype.receivePaymentRequest = function(tx, options, pr, cb) {
|
||||||
merchant_data: merchant_data.toString('hex')
|
merchant_data: merchant_data.toString('hex')
|
||||||
},
|
},
|
||||||
signature: sig,
|
signature: sig,
|
||||||
// certs: certs,
|
|
||||||
ca: ca
|
ca: ca
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
@ -941,10 +937,6 @@ Wallet.prototype.sendPaymentTx = function(ntxid, options, cb) {
|
||||||
pay.set('transactions', [tx.serialize()]);
|
pay.set('transactions', [tx.serialize()]);
|
||||||
pay.set('refund_to', refund_outputs);
|
pay.set('refund_to', refund_outputs);
|
||||||
|
|
||||||
// XXX This is actually the server memo - change!
|
|
||||||
// txp.merchant.pr.pd.memo = txp.merchant.pr.pd.memo
|
|
||||||
// || 'Hi server, I would like to give you some money.';
|
|
||||||
|
|
||||||
options.memo = options.memo || options.comment
|
options.memo = options.memo || options.comment
|
||||||
|| 'Hi server, I would like to give you some money.';
|
|| 'Hi server, I would like to give you some money.';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue