paypro: figure out why paypro tests are hanging in the browser.
This commit is contained in:
parent
5c97649f83
commit
bc716646dc
1 changed files with 5 additions and 4 deletions
|
|
@ -255,8 +255,9 @@ describe('PayPro (in Wallet) model', function() {
|
|||
v[7] = (amount.low >> 0) & 0xff;
|
||||
|
||||
var s = script.buffer.slice(script.offset, script.limit);
|
||||
var network = network === 'main' ? 'livenet' : 'testnet';
|
||||
var addr = bitcore.Address.fromScriptPubKey(new bitcore.Script(s), network);
|
||||
var net = network === 'main' ? 'livenet' : 'testnet';
|
||||
// XXX browser test chokes here on new bitcore.Script:
|
||||
var addr = bitcore.Address.fromScriptPubKey(new bitcore.Script(s), net);
|
||||
|
||||
outs.push({
|
||||
address: addr[0].toString(),
|
||||
|
|
@ -491,8 +492,8 @@ describe('PayPro (in Wallet) model', function() {
|
|||
v[7] = (amount.low >> 0) & 0xff;
|
||||
|
||||
var s = script.buffer.slice(script.offset, script.limit);
|
||||
var network = network === 'main' ? 'livenet' : 'testnet';
|
||||
var addr = bitcore.Address.fromScriptPubKey(new bitcore.Script(s), network);
|
||||
var net = network === 'main' ? 'livenet' : 'testnet';
|
||||
var addr = bitcore.Address.fromScriptPubKey(new bitcore.Script(s), net);
|
||||
|
||||
outs.push({
|
||||
address: addr[0].toString(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue