Commit 90588c9cde81fa9487446808b33f14d73c821d63
Remove dead code
cel committed on 10/1/2017, 7:42:16 AMParent: 47eb321ffd75f51568db7204562dbaa274e07bb5
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -281,18 +281,8 @@ | ||
281 | 281 | } |
282 | 282 | }) |
283 | 283 | } |
284 | 284 | |
285 | -SsbNpmRegistryServer.prototype.getBootstrapScriptHash = function (cb) { | |
286 | - var hasher = crypto.createHash('sha256') | |
287 | - hasher.update(data) | |
288 | - var hash = hasher.digest() | |
289 | - getBootstrapScriptHash = function (cb) { | |
290 | - return cb(null, hash) | |
291 | - } | |
292 | - getBootstrapScriptHash(cb) | |
293 | -} | |
294 | - | |
295 | 285 | function Req(server, req, res) { |
296 | 286 | this.server = server |
297 | 287 | this.req = req |
298 | 288 | this.res = res |
Built with git-ssb-web