diff --git a/nip10/nip10.go b/nip10/nip10.go index 81c1a75..8b8e9ad 100644 --- a/nip10/nip10.go +++ b/nip10/nip10.go @@ -16,7 +16,7 @@ func GetImmediateReply(tags nostr.Tags) *nostr.Tag { var root *nostr.Tag var lastE *nostr.Tag - for i := len(tags) - 1; i >= 0; i-- { + for i := 0; i <= len(tags)-1; i++ { tag := tags[i] if len(tag) < 2 {