diff --git a/js/models/core/Wallet.js b/js/models/core/Wallet.js index 127fc3056..8c47db7d8 100644 --- a/js/models/core/Wallet.js +++ b/js/models/core/Wallet.js @@ -998,7 +998,7 @@ Wallet.prototype.receivePaymentRequest = function(options, pr, cb) { script: { offset: output.get('script').offset, limit: output.get('script').limit, - buffer: output.get('script').buffer.toString('hex') + buffer: new Buffer(output.get('script').buffer).toString('hex') } }; }),