remove debugging code

This commit is contained in:
ansuz
2017-04-07 10:34:03 +02:00
parent 166e70f628
commit 89bca1606b

6
rpc.js
View File

@@ -162,11 +162,7 @@ var getChannelList = function (store, publicKey, cb) {
}; };
var getFileSize = function (store, channel, cb) { var getFileSize = function (store, channel, cb) {
if (!isValidChannel(channel)) { if (!isValidChannel(channel)) { return void cb('INVALID_CHAN'); }
console.log(channel);
Trace('INVALID_CHAN');
return void cb('INVALID_CHAN');
}
return void store.getChannelSize(channel, function (e, size) { return void store.getChannelSize(channel, function (e, size) {
if (e) { return void cb(e.code); } if (e) { return void cb(e.code); }