settings: fix angular test 6

This commit is contained in:
Manuel Araoz 2014-09-05 16:42:57 -07:00
commit b36564fcb7
2 changed files with 6 additions and 2 deletions

View file

@ -11,7 +11,7 @@ FakeBlockchain.prototype.getTransaction = function(txid, cb) {
};
FakeBlockchain.prototype.getTransactions = function(addresses, cb) {
return cb(null, []);
cb(null, []);
};

View file

@ -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;