nip77: convert to dealing with bytes instead of hex strings.

it was cool but this should be faster and less confusing.
This commit is contained in:
fiatjaf
2025-05-12 05:54:39 -03:00
parent bbffe45824
commit 94d29f1230
8 changed files with 66 additions and 157 deletions
+1 -1
View File
@@ -23,6 +23,6 @@ func (Empty) GetBound(idx int) negentropy.Bound {
return negentropy.InfiniteBound
}
func (Empty) Fingerprint(begin, end int) string {
func (Empty) Fingerprint(begin, end int) [negentropy.FingerprintSize]byte {
return acc.GetFingerprint(end - begin)
}