diff --git a/www/common/common-hash.js b/www/common/common-hash.js index 902a91793..85ec3b36e 100644 --- a/www/common/common-hash.js +++ b/www/common/common-hash.js @@ -15,7 +15,6 @@ var factory = function (Util, Crypto, Nacl) { .decodeUTF8(JSON.stringify(list)))); }; - // XXX move this code? Hash.generateSignPair = function () { var ed = Nacl.sign.keyPair(); var makeSafe = function (key) { @@ -152,7 +151,7 @@ Version 1 var k; // Check if we have a ownerKey for this pad hashArr.some(function (data) { - if (data.length === 86) { // XXX 88 characters - 2 trailing "="... + if (data.length === 86) { k = data; return true; } diff --git a/www/common/outer/invitation.js b/www/common/outer/invitation.js index d84d7a81f..603cae3c1 100644 --- a/www/common/outer/invitation.js +++ b/www/common/outer/invitation.js @@ -17,7 +17,6 @@ var factory = function (Util, Cred, Nacl) { }; }; - // XXX move this function? Invite.generateSignPair = function () { var ed = Nacl.sign.keyPair(); return {