sync: fix hash computation by factorizing
This commit is contained in:
parent
0766fbe480
commit
97a3aa713f
3 changed files with 32 additions and 36 deletions
|
|
@ -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[:])
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue