From 80995b5e8cf0529b705b38e7e8677ac0a7bea8b6 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 29 Jul 2014 19:46:35 -0700 Subject: [PATCH] paypro: minor fixes. --- examples/PayPro/customer.js | 2 +- examples/PayPro/server.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/PayPro/customer.js b/examples/PayPro/customer.js index 21d4384e5..dfb256bb7 100644 --- a/examples/PayPro/customer.js +++ b/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' }, diff --git a/examples/PayPro/server.js b/examples/PayPro/server.js index 12d370241..faef7698c 100755 --- a/examples/PayPro/server.js +++ b/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));