mirror of https://github.com/BTCPrivate/copay.git
paypro: fix script buffers.
This commit is contained in:
parent
cf674dced2
commit
959a2f40cb
|
@ -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')
|
||||
}
|
||||
};
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue