diff --git a/rpc.js b/rpc.js index 229be1220..45ede9b49 100644 --- a/rpc.js +++ b/rpc.js @@ -162,11 +162,7 @@ var getChannelList = function (store, publicKey, cb) { }; var getFileSize = function (store, channel, cb) { - if (!isValidChannel(channel)) { - console.log(channel); - Trace('INVALID_CHAN'); - return void cb('INVALID_CHAN'); - } + if (!isValidChannel(channel)) { return void cb('INVALID_CHAN'); } return void store.getChannelSize(channel, function (e, size) { if (e) { return void cb(e.code); }