Browse Source

Merge pull request #471 from chjj/paypro_fixes

paypro: minor fixes.
patch-2
Ryan X. Charles 11 years ago
parent
commit
7f4f2e1d71
  1. 2
      examples/PayPro/customer.js
  2. 1
      examples/PayPro/server.js

2
examples/PayPro/customer.js

@ -258,7 +258,7 @@ function sendPayment(msg, callback) {
// 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'
},

1
examples/PayPro/server.js

@ -298,6 +298,7 @@ var peerman = new bitcore.PeerManager({
peerman.peerDiscovery = true;
peerman.addPeer(new bitcore.Peer('testnet-seed.alexykot.me', 18333));
peerman.addPeer(new bitcore.Peer('testnet-seed.bitcoin.petertodd.org', 18333));
peerman.addPeer(new bitcore.Peer('testnet-seed.bluematt.me', 18333));

Loading…
Cancel
Save