From ae87aedae9696f4c855ac3dc47e61faec9d07c15 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 28 Oct 2024 15:41:14 +0000 Subject: chore: bump rust-nostr to patch near v0.36.0 bump all rust-nostr packages refactoring code based on breaking changes upgrading to patched version to address signer issue: nostr:nevent1qvzqqqqqqypzq6xcz9jerqgqkldy8lpg7lglcyj4g3nwzy2cs6u70wejdaj7csnjqy88wumn8ghj7mn0wvhxcmmv9uqzpsw5ph8le2n2kh6uchftawt74hddazk9tp7wjmz967y2l0uva5rc7hsstq --- src/lib/repo_state.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/repo_state.rs') diff --git a/src/lib/repo_state.rs b/src/lib/repo_state.rs index c39db34..c3a7606 100644 --- a/src/lib/repo_state.rs +++ b/src/lib/repo_state.rs @@ -14,7 +14,7 @@ impl RepoState { state_events.sort_by_key(|e| e.created_at); let event = state_events.first().context("no state events")?; let mut state = HashMap::new(); - for tag in &event.tags { + for tag in event.tags.iter() { if let Some(name) = tag.as_slice().first() { if ["refs/heads/", "refs/tags", "HEAD"] .iter() @@ -30,6 +30,7 @@ impl RepoState { } Ok(RepoState { identifier: event + .tags .identifier() .context("existing event must have an identifier")? .to_string(), -- cgit v1.2.3