txproposal comuninication between peers. Still WIP

This commit is contained in:
Matias Alejo Garcia 2014-04-11 13:26:36 -03:00
commit 333ecb352a
12 changed files with 282 additions and 124 deletions

View file

@ -41,6 +41,13 @@ angular.module('copay.storage')
},
addWalletId: function(walletId) {
var ids = localStorage.getItem('walletIds');
if (ids) {
var list = ids.split(',');
var l = list.length;
for(var i=0; i<l; i++)
if (walletId === list[i])
return;
}
localStorage.setItem('walletIds', (ids?ids+',':'') + walletId);
},
delWalletId: function(walletId) {