paypro: potentially use verbatim scripts after setting outputs.
This commit is contained in:
parent
ac32f56afa
commit
d51c1c552f
2 changed files with 30 additions and 0 deletions
|
|
@ -270,6 +270,16 @@ describe('PayPro (in Wallet) model', function() {
|
|||
.setUnspent(unspentTest)
|
||||
.setOutputs(outs);
|
||||
|
||||
// outputs.forEach(function(output, i) {
|
||||
// var script = {
|
||||
// offset: output.get('script').offset,
|
||||
// limit: output.get('script').limit,
|
||||
// buffer: output.get('script').buffer
|
||||
// };
|
||||
// var s = script.buffer.slice(script.offset, script.limit);
|
||||
// b.tx.outs[i].s = s;
|
||||
// });
|
||||
|
||||
var selectedUtxos = b.getSelectedUnspent();
|
||||
var inputChainPaths = selectedUtxos.map(function(utxo) {
|
||||
return pkr.pathForAddress(utxo.address);
|
||||
|
|
@ -496,6 +506,16 @@ describe('PayPro (in Wallet) model', function() {
|
|||
.setUnspent(unspentTest)
|
||||
.setOutputs(outs);
|
||||
|
||||
// outputs.forEach(function(output, i) {
|
||||
// var script = {
|
||||
// offset: output.get('script').offset,
|
||||
// limit: output.get('script').limit,
|
||||
// buffer: output.get('script').buffer
|
||||
// };
|
||||
// var s = script.buffer.slice(script.offset, script.limit);
|
||||
// b.tx.outs[i].s = s;
|
||||
// });
|
||||
|
||||
var selectedUtxos = b.getSelectedUnspent();
|
||||
var inputChainPaths = selectedUtxos.map(function(utxo) {
|
||||
return pkr.pathForAddress(utxo.address);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue