Change Key.Value to Key.Checksum

This commit is contained in:
nemunaire 2017-12-04 08:40:17 +01:00 committed by Pierre-Olivier Mercier
commit 6237f7755a
2 changed files with 14 additions and 13 deletions

View file

@ -130,7 +130,7 @@ func MyJSONTeam(t *Team, started bool) (interface{}, error) {
} else {
for _, k := range keys {
if t == nil {
exercice.Keys = append(exercice.Keys, fmt.Sprintf("%x", k.Value)+k.Type)
exercice.Keys = append(exercice.Keys, fmt.Sprintf("%x", k.Checksum)+k.Type)
} else {
exercice.Keys = append(exercice.Keys, k.Type)
if PartialValidation {