paypro: fix script buffers.

This commit is contained in:
Christopher Jeffrey 2014-07-31 17:13:58 -07:00 committed by Manuel Araoz
commit 959a2f40cb

View file

@ -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')
}
};
}),