diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-10-28 15:41:14 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-10-28 15:41:14 +0000 |
| commit | ae87aedae9696f4c855ac3dc47e61faec9d07c15 (patch) | |
| tree | 0309be588a4e3d3a510e7510300629cb2ec3a68a /src/lib/repo_ref.rs | |
| parent | 5979e13cdc65ea78894dbcab3acde11b246889a7 (diff) | |
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
Diffstat (limited to 'src/lib/repo_ref.rs')
| -rw-r--r-- | src/lib/repo_ref.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/repo_ref.rs b/src/lib/repo_ref.rs index 2468d4d..9bee641 100644 --- a/src/lib/repo_ref.rs +++ b/src/lib/repo_ref.rs | |||
| @@ -105,7 +105,7 @@ impl TryFrom<nostr::Event> for RepoRef { | |||
| 105 | r.events.insert( | 105 | r.events.insert( |
| 106 | Coordinate { | 106 | Coordinate { |
| 107 | kind: event.kind, | 107 | kind: event.kind, |
| 108 | identifier: event.identifier().unwrap().to_string(), | 108 | identifier: event.tags.identifier().unwrap().to_string(), |
| 109 | public_key: event.pubkey, | 109 | public_key: event.pubkey, |
| 110 | relays: vec![], | 110 | relays: vec![], |
| 111 | }, | 111 | }, |
| @@ -343,7 +343,7 @@ async fn get_repo_coordinates_from_maintainers_yaml( | |||
| 343 | .await?; | 343 | .await?; |
| 344 | } | 344 | } |
| 345 | if let Some(e) = events.first() { | 345 | if let Some(e) = events.first() { |
| 346 | if let Some(identifier) = e.identifier() { | 346 | if let Some(identifier) = e.tags.identifier() { |
| 347 | for m in &repo_config.maintainers { | 347 | for m in &repo_config.maintainers { |
| 348 | if let Ok(maintainer) = PublicKey::parse(m) { | 348 | if let Ok(maintainer) = PublicKey::parse(m) { |
| 349 | repo_coordinates.insert(Coordinate { | 349 | repo_coordinates.insert(Coordinate { |