lint compliance

This commit is contained in:
yflory
2019-12-17 11:49:32 +01:00
parent 5174472329
commit 3aa111d8a8
3 changed files with 3 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ var factory = function (Hash, Crypt, Nacl, Scrypt/*, Util, Cred, nThen */) {
Invite.deriveSeeds = function (safeSeed) {
// take the hash of the provided seed
seed = safeSeed.replace(/\-/g, '/');
var seed = safeSeed.replace(/\-/g, '/');
var u8_seed = Nacl.hash(Nacl.util.decodeBase64(seed));
// hash the first half again for scrypt's input