settings: fix angular test 6
This commit is contained in:
parent
0a531a47f9
commit
b36564fcb7
2 changed files with 6 additions and 2 deletions
|
|
@ -11,7 +11,7 @@ FakeBlockchain.prototype.getTransaction = function(txid, cb) {
|
|||
};
|
||||
|
||||
FakeBlockchain.prototype.getTransactions = function(addresses, cb) {
|
||||
return cb(null, []);
|
||||
cb(null, []);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,8 @@ var FakeWallet = function() {
|
|||
getSubscriptions: function() {
|
||||
return [];
|
||||
},
|
||||
subscribe: function() {}
|
||||
subscribe: function() {},
|
||||
getTransactions: function() {}
|
||||
};
|
||||
|
||||
this.privateKey = new FakePrivateKey();
|
||||
|
|
@ -60,6 +61,9 @@ FakeWallet.prototype.createTx = function(toAddress, amountSatStr, comment, opts,
|
|||
FakeWallet.prototype.sendTx = function(ntxid, cb) {
|
||||
cb(8);
|
||||
}
|
||||
FakeWallet.prototype.getAddressesStr = function() {
|
||||
return ['2Mw2YXxyMD7fhtPhHYY39X6BVWiBRaez5Zn'];
|
||||
};
|
||||
|
||||
FakeWallet.prototype.set = function(balance, safeBalance, balanceByAddr) {
|
||||
this.balance = balance;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue