support for naddr on nip19.

This commit is contained in:
fiatjaf
2023-02-27 16:15:04 -03:00
parent e7e20f3e00
commit 916a6a6abb
4 changed files with 130 additions and 2 deletions

View File

@@ -7,6 +7,8 @@ import (
const (
TLVDefault uint8 = 0
TLVRelay uint8 = 1
TLVAuthor uint8 = 2
TLVKind uint8 = 3
)
func readTLVEntry(data []byte) (typ uint8, value []byte) {