sync: fix hash computation by factorizing

This commit is contained in:
nemunaire 2019-10-12 13:37:24 +02:00
commit 97a3aa713f
3 changed files with 32 additions and 36 deletions

View file

@ -296,7 +296,7 @@ func MyJSONTeam(t *Team, started bool) (interface{}, error) {
}
if t == nil {
h := ComputeHashedFlag([]byte(soluce))
h, _ := ComputeHashedFlag([]byte(soluce), false, nil)
m.Soluce = hex.EncodeToString(h[:])
}