make a note about a small problem

pull/1/head
ansuz 6 years ago
parent 92dda92a00
commit 29a4035b79

@ -80,6 +80,7 @@ module.exports.create = function (cfg) {
metadata = msg = tryParse(msgObj.buff.toString('utf8')); // FIXME METADATA READ metadata = msg = tryParse(msgObj.buff.toString('utf8')); // FIXME METADATA READ
if (typeof msg === "undefined") { return rmcb(); } if (typeof msg === "undefined") { return rmcb(); }
if (msg.validateKey) { if (msg.validateKey) {
// XXX this variable name is very misleading as it's actually the metadata, not the validateKey
validateKey = historyKeeperKeys[channelName] = msg; validateKey = historyKeeperKeys[channelName] = msg;
return rmcb(); return rmcb();
} }

Loading…
Cancel
Save