diff --git a/nip77/negentropy/encoding.go b/nip77/negentropy/encoding.go index 9d3b50d..239fd7d 100644 --- a/nip77/negentropy/encoding.go +++ b/nip77/negentropy/encoding.go @@ -82,7 +82,7 @@ func getMinimalBound(prev, curr Item) Bound { sharedPrefixBytes := 0 - for i := 0; i < 32; i++ { + for i := 0; i < 32; i += 2 { if curr.ID[i:i+2] != prev.ID[i:i+2] { break }