update nostr sdk

This commit is contained in:
2026-08-06 16:33:42 +07:00
parent 63f2de70e1
commit e2ec35a673
3 changed files with 122 additions and 96 deletions
+4 -1
View File
@@ -315,7 +315,10 @@ impl RepoStore {
}
}
fn latest(events: Events) -> Option<Event> {
fn latest<I>(events: I) -> Option<Event>
where
I: IntoIterator<Item = Event>,
{
events.into_iter().max_by_key(|e| e.created_at)
}