Browse Source

paypro: minor fixes.

patch-2
Christopher Jeffrey 11 years ago
parent
commit
80995b5e8c
  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