remove XXXs

pull/1/head
David Benqué 5 years ago
parent 698c2f946e
commit 003a616c81

@ -15,7 +15,6 @@ var factory = function (Util, Crypto, Nacl) {
.decodeUTF8(JSON.stringify(list)))); .decodeUTF8(JSON.stringify(list))));
}; };
// XXX move this code?
Hash.generateSignPair = function () { Hash.generateSignPair = function () {
var ed = Nacl.sign.keyPair(); var ed = Nacl.sign.keyPair();
var makeSafe = function (key) { var makeSafe = function (key) {
@ -152,7 +151,7 @@ Version 1
var k; var k;
// Check if we have a ownerKey for this pad // Check if we have a ownerKey for this pad
hashArr.some(function (data) { hashArr.some(function (data) {
if (data.length === 86) { // XXX 88 characters - 2 trailing "="... if (data.length === 86) {
k = data; k = data;
return true; return true;
} }

@ -17,7 +17,6 @@ var factory = function (Util, Cred, Nacl) {
}; };
}; };
// XXX move this function?
Invite.generateSignPair = function () { Invite.generateSignPair = function () {
var ed = Nacl.sign.keyPair(); var ed = Nacl.sign.keyPair();
return { return {

Loading…
Cancel
Save