mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-06-03 03:31:02 +02:00
nip77: fix envelope parsing.
This commit is contained in:
parent
dad99b226c
commit
5e650f27ff
@ -17,7 +17,7 @@ func ParseNegMessage(message string) nostr.Envelope {
|
||||
if firstComma == -1 {
|
||||
return nil
|
||||
}
|
||||
label := message[0:firstComma]
|
||||
label := message[2 : firstComma-1]
|
||||
|
||||
var v nostr.Envelope
|
||||
switch label {
|
||||
|
Loading…
x
Reference in New Issue
Block a user