From 959a2f40cb7af22a2ed394b4155974ecb5291b50 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 31 Jul 2014 17:13:58 -0700 Subject: [PATCH] paypro: fix script buffers. --- js/models/core/Wallet.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/models/core/Wallet.js b/js/models/core/Wallet.js index 81a25fc41..738ca7951 100644 --- a/js/models/core/Wallet.js +++ b/js/models/core/Wallet.js @@ -914,7 +914,8 @@ Wallet.prototype.receivePaymentRequest = function(options, pr, cb) { script: { offset: output.get('script').offset, limit: output.get('script').limit, - buffer: new Buffer(output.get('script').buffer).toString('hex') + buffer: new Buffer(new Uint8Array( + output.get('script').buffer)).toString('hex') } }; }),