remove invalid callback which would totally break channelBytes

pull/1/head
ansuz 5 years ago
parent 3c1aadd6c1
commit a63bea1f59

@ -603,7 +603,7 @@ var flushUnusedChannels = function (env, cb, frame) {
};
/* channelBytes
calls back with the size (in bytes) of a channel and its metadata
calls back with an error or the size (in bytes) of a channel and its metadata
*/
var channelBytes = function (env, chanName, cb) {
var channelPath = mkPath(env, chanName);
@ -627,7 +627,6 @@ var channelBytes = function (env, chanName, cb) {
return void CB(err);
}
dataSize = stats.size;
CB(undefined, stats.size);
}));
}).nThen(function () {
CB(void 0, channelSize + dataSize);

Loading…
Cancel
Save