From 89bca1606b61c8348f4a2e0e9f333f4d3127df74 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 7 Apr 2017 10:34:03 +0200 Subject: [PATCH] remove debugging code --- rpc.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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); }