remove pubkey cache from network and storage

This commit is contained in:
Matias Alejo Garcia 2014-08-19 11:48:29 -04:00
commit 20af614f40
4 changed files with 33 additions and 24 deletions

View file

@ -228,12 +228,12 @@ describe('PublicKeyRing model', function() {
var hasChanged;
w.copayersBackup = ["a", "b"];
hasChanged = w.mergeBackups(["b", "c"]);
hasChanged = w._mergeBackups(["b", "c"]);
w.copayersBackup.length.should.equal(3);
hasChanged.should.equal(true);
w.copayersBackup = ["a", "b", "c"];
hasChanged = w.mergeBackups(["b", "c"]);
hasChanged = w._mergeBackups(["b", "c"]);
w.copayersBackup.length.should.equal(3);
hasChanged.should.equal(false);
});