mirror of https://github.com/BTCPrivate/copay.git
paypro: test - remove old function.
This commit is contained in:
parent
fcb0484828
commit
05859b77d6
|
@ -93,18 +93,6 @@ describe('PayPro (in Wallet) model', function() {
|
||||||
return new Wallet(c);
|
return new Wallet(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
var cachedW = null;
|
|
||||||
var cachedWobj = null;
|
|
||||||
var cachedCreateW = function() {
|
|
||||||
if (!cachedW) {
|
|
||||||
cachedW = createW();
|
|
||||||
cachedWobj = cachedW.toObj();
|
|
||||||
cachedWobj.opts.reconnectDelay = 100;
|
|
||||||
}
|
|
||||||
var w = Wallet.fromObj(cachedWobj, cachedW.storage, cachedW.network, cachedW.blockchain);
|
|
||||||
return w;
|
|
||||||
};
|
|
||||||
|
|
||||||
var unspentTest = [{
|
var unspentTest = [{
|
||||||
"address": "dummy",
|
"address": "dummy",
|
||||||
"scriptPubKey": "dummy",
|
"scriptPubKey": "dummy",
|
||||||
|
|
Loading…
Reference in New Issue