fix comparing

This commit is contained in:
Chris Lu 2019-12-17 21:15:28 -08:00
parent 14242e6c70
commit 29eb333f8e

View file

@ -107,7 +107,7 @@ func eq(a, b map[string][]byte) bool {
}
for k, v := range a {
if w, ok := b[k]; !ok || bytes.Equal(v, w) {
if w, ok := b[k]; !ok || !bytes.Equal(v, w) {
return false
}
}