Browse Source

remove some XXX notes

master
ansuz 11 months ago
parent
commit
57be324850
3 changed files with 4 additions and 4 deletions
  1. 2
      lib/hk-util.js
  2. 2
      lib/rpc.js
  3. 4
      scripts/tests/test-rpc.js

2
lib/hk-util.js

@ -44,7 +44,7 @@ const tryParse = function (Env, str) {
try {
return JSON.parse(str);
} catch (err) {
Env.Log.error('HK_PARSE_ERROR', err); // XXX
Env.Log.error('HK_PARSE_ERROR', err);
}
};

2
lib/rpc.js

@ -19,7 +19,7 @@ const Store = require("../storage/file");
const BlobStore = require("../storage/blob");
const UNAUTHENTICATED_CALLS = {
GET_FILE_SIZE: Pinning.getFileSize, // XXX TEST
GET_FILE_SIZE: Pinning.getFileSize,
GET_MULTIPLE_FILE_SIZE: Pinning.getMultipleFileSize,
GET_DELETED_PADS: Pinning.getDeletedPads,
IS_CHANNEL_PINNED: Pinning.isChannelPinned,

4
scripts/tests/test-rpc.js

@ -160,8 +160,8 @@ var createUser = function (config, cb) {
wc.leave();
}));
}).nThen(function (w) {
// give the server time to write your mailbox data before checking that it's correct
// XXX chainpad-server sends an ACK before the channel has actually been created
// FIXME give the server time to write your mailbox data before checking that it's correct
// chainpad-server sends an ACK before the channel has actually been created
// causing you to think that everything is good.
// without this timeout the GET_METADATA rpc occasionally returns before
// the metadata has actually been written to the disk.

Loading…
Cancel
Save