remove pubkey cache from network and storage
This commit is contained in:
parent
73a2a9fba3
commit
20af614f40
4 changed files with 33 additions and 24 deletions
|
|
@ -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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue