[server] removed constraint for creating a server if it contains less than scha.HSIZE bytes (valid hash)

This commit is contained in:
xdrm-brackets 2018-04-25 08:31:49 +02:00
parent c3da98f424
commit 5e1dca7311
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ func New(ctx *context.T, savePath string) (*T, error) {
/* (5) Try to fetch hash from conf */ /* (5) Try to fetch hash from conf */
inst.hash = make([]byte, scha.HSIZE) inst.hash = make([]byte, scha.HSIZE)
err = inst.fetch(); err = inst.fetch();
if err != nil { return nil, err } // if err != nil { return nil, err }
return inst, nil; return inst, nil;