git ssb

3+

cel / ssb-npm-registry



Commit 90588c9cde81fa9487446808b33f14d73c821d63

Remove dead code

cel committed on 10/1/2017, 7:42:16 AM
Parent: 47eb321ffd75f51568db7204562dbaa274e07bb5

Files changed

index.jschanged
index.jsView
@@ -281,18 +281,8 @@
281281 }
282282 })
283283 }
284284
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-
295285 function Req(server, req, res) {
296286 this.server = server
297287 this.req = req
298288 this.res = res

Built with git-ssb-web