Add reconnecting notification, change subscribed list to dict, update balance after reconnect

This commit is contained in:
Yemel Jardi 2014-08-29 15:01:07 -03:00
commit b97a332ae9
6 changed files with 49 additions and 26 deletions

View file

@ -36,7 +36,10 @@ var FakeWallet = function() {
return true;
}
};
this.blockchain = {subscribed: [], subscribe: function(){}};
this.blockchain = {
getSubscriptions: function(){ return []; },
subscribe: function(){}
};
this.privateKey = new FakePrivateKey();
};