paypro: test/minor - use paypro content type constant.

This commit is contained in:
Christopher Jeffrey 2014-07-29 12:00:09 -07:00 committed by Manuel Araoz
commit d2e7e35e9f

View file

@ -971,7 +971,7 @@ Wallet.prototype.sendPaymentTx = function(ntxid, options, cb) {
// BIP-71
'Accept': PayPro.PAYMENT_REQUEST_CONTENT_TYPE
+ ', ' + PayPro.PAYMENT_ACK_CONTENT_TYPE,
'Content-Type': 'application/bitcoin-payment',
'Content-Type': PayPro.PAYMENT_CONTENT_TYPE,
'Content-Length': pay.length + '',
'Content-Transfer-Encoding': 'binary'
},