paypro: test - remove old function.
This commit is contained in:
parent
fcb0484828
commit
05859b77d6
1 changed files with 0 additions and 12 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue