nson and binary on justfile.

This commit is contained in:
fiatjaf
2023-11-02 15:29:27 -03:00
parent 4c72e16f3e
commit 9e593c44c2
2 changed files with 5 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ import (
func Unmarshal(data []byte, evt *nostr.Event) (err error) {
defer func() {
if r := recover(); r != nil {
err = fmt.Errorf("failed to decode leaner: %v", r)
err = fmt.Errorf("failed to decode binary: %v", r)
}
}()