remove debugging code
This commit is contained in:
6
rpc.js
6
rpc.js
@@ -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); }
|
||||||
|
|||||||
Reference in New Issue
Block a user