implements skipping fields in backup imports

This commit is contained in:
Matias Alejo Garcia 2014-08-20 14:45:59 -04:00
commit 7f0e9cd03d
7 changed files with 171 additions and 115 deletions

View file

@ -239,7 +239,7 @@ PublicKeyRing.prototype.getCosigner = function(pubKey) {
});
var index = sorted.indexOf(pubKey);
if (index == -1) throw new Error('no public key in ring');
if (index == -1) throw new Error('public key is not on the ring');
return index;
}