registerEvent method
Registers an event to the registry with the given event
.
Implementation
NostrEvent registerEvent(NostrEvent event) {
eventsRegistry[eventUniqueId(event)] = event;
return eventsRegistry[eventUniqueId(event)]!;
}
Registers an event to the registry with the given event
.
NostrEvent registerEvent(NostrEvent event) {
eventsRegistry[eventUniqueId(event)] = event;
return eventsRegistry[eventUniqueId(event)]!;
}