From 5e1dca7311f653a16498da6e4b163d7b851b2ca4 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 25 Apr 2018 08:31:49 +0200 Subject: [PATCH] [server] removed constraint for creating a server if it contains less than scha.HSIZE bytes (valid hash) --- server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.go b/server/server.go index 911f027..5a3cc15 100644 --- a/server/server.go +++ b/server/server.go @@ -61,7 +61,7 @@ func New(ctx *context.T, savePath string) (*T, error) { /* (5) Try to fetch hash from conf */ inst.hash = make([]byte, scha.HSIZE) err = inst.fetch(); - if err != nil { return nil, err } + // if err != nil { return nil, err } return inst, nil;