fix profiler
I updated puffin to egui v0.29.1 and now it works Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -275,8 +275,10 @@ pub fn get_unknown_note_ids<'a>(
|
||||
note: &Note<'a>,
|
||||
ids: &mut HashSet<UnknownId>,
|
||||
) -> Result<()> {
|
||||
// the author pubkey
|
||||
#[cfg(feature = "profiling")]
|
||||
puffin::profile_function!();
|
||||
|
||||
// the author pubkey
|
||||
if ndb.get_profile_by_pubkey(txn, note.pubkey()).is_err() {
|
||||
ids.insert(UnknownId::Pubkey(Pubkey::new(*note.pubkey())));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user