mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-19 10:36:42 +01:00
nip61 and nip60 improvements and fixes.
This commit is contained in:
@@ -72,7 +72,7 @@ func (t *Token) parse(ctx context.Context, kr nostr.Keyer, evt *nostr.Event) err
|
||||
return fmt.Errorf("failed to parse token content: %w", err)
|
||||
}
|
||||
|
||||
t.Mint = "http" + nostr.NormalizeURL(t.Mint)[2:]
|
||||
t.Mint, _ = nostr.NormalizeHTTPURL(t.Mint)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user