Revert "json: deserialize note ids into bytes"

This reverts commit 1ba597fc0a.
This commit is contained in:
William Casarin
2023-07-06 17:50:20 -07:00
parent 1ba597fc0a
commit 672f95749a
9 changed files with 29 additions and 84 deletions

View File

@@ -1,8 +1,8 @@
use enostr::{NoteId, Profile, Pubkey};
use enostr::{EventId, Profile, Pubkey};
use std::collections::HashMap;
pub struct Contacts {
pub events: HashMap<Pubkey, NoteId>,
pub events: HashMap<Pubkey, EventId>,
pub profiles: HashMap<Pubkey, Profile>,
}