negentropy: fix one stupid bug and rename Initiate() to Start().

This commit is contained in:
fiatjaf
2024-09-19 15:53:01 -03:00
parent 15aa7ac31e
commit e9e96be95e
4 changed files with 7 additions and 7 deletions

View File

@@ -59,7 +59,7 @@ func NegentropySync(ctx context.Context, store nostr.RelayStore, url string, fil
return err
}
msg := neg.Initiate()
msg := neg.Start()
open, _ := OpenEnvelope{id, filter, msg}.MarshalJSON()
err = <-r.Write(open)
if err != nil {