paypro: fix script buffers.

This commit is contained in:
Christopher Jeffrey 2014-07-31 17:13:58 -07:00 committed by Manuel Araoz
parent cf674dced2
commit 959a2f40cb
1 changed files with 2 additions and 1 deletions

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