downgrade an XXX to a FIXME

This commit is contained in:
ansuz 2019-09-23 11:18:34 +02:00
parent 744be9929f
commit 55f19b998f
1 changed files with 2 additions and 3 deletions

View File

@ -190,14 +190,13 @@ var createUser = function (config, cb) {
})); }));
}).nThen(function () { }).nThen(function () {
/* /*
// XXX race condition because both users try to pin things... // FIXME race condition because both users try to pin things...
user.team_rpc.getServerHash(w(function (err, hash) { user.team_rpc.getServerHash(w(function (err, hash) {
if (err) { if (err) {
w.abort(); w.abort();
return void cb(err); return void cb(err);
} }
/*
/*
if (!hash || hash[0] !== EMPTY_ARRAY_HASH) { if (!hash || hash[0] !== EMPTY_ARRAY_HASH) {
console.error("EXPECTED EMPTY ARRAY HASH"); console.error("EXPECTED EMPTY ARRAY HASH");
process.exit(1); process.exit(1);