remove some duplicated code

This commit is contained in:
ansuz
2020-02-14 16:45:53 -05:00
parent d274be6de4
commit 3f606d8c75
4 changed files with 3 additions and 21 deletions

View File

@@ -3,7 +3,7 @@
var HK = module.exports;
const nThen = require('nthen');
const Once = require("./once");
const Util = require("./common-util");
const Meta = require("./metadata");
const Nacl = require('tweetnacl/nacl-fast');
@@ -182,7 +182,7 @@ const computeIndex = function (Env, channelName, cb) {
const ref = {};
const CB = Once(cb);
const CB = Util.once(cb);
const offsetByHash = {};
let size = 0;