diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-06-11 16:21:44 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-06-13 09:09:00 +0100 |
| commit | f1b3fcc40ab666d8def97096d1942c274da9b279 (patch) | |
| tree | 05d6af0c5c1ad9baedb90ef652152fba6d46abf5 /src/sub_commands/list.rs | |
| parent | 7c6a5ab4c5e7a81c7442061029b9230748a6639d (diff) | |
chore: bump rust-nostr to v0.32.0
both nostr and nostr-sdk packages and also in test_utils
fix the many breaking changes
fix: ignore trailing slash when depuplicate relays for send events.
this was picked up as TagStandard::RelayMetadata has started adding
a traling slash.
refactor cli output test function `expect_send_with_progress` so that
relays can succeed / fail in a random order
Diffstat (limited to 'src/sub_commands/list.rs')
| -rw-r--r-- | src/sub_commands/list.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sub_commands/list.rs b/src/sub_commands/list.rs index 1a30b9b..24979fe 100644 --- a/src/sub_commands/list.rs +++ b/src/sub_commands/list.rs | |||
| @@ -801,7 +801,7 @@ pub async fn find_commits_for_proposal_root_events( | |||
| 801 | .context("cannot fetch patch events")? | 801 | .context("cannot fetch patch events")? |
| 802 | .iter() | 802 | .iter() |
| 803 | .filter(|e| { | 803 | .filter(|e| { |
| 804 | e.kind.as_u64() == PATCH_KIND | 804 | e.kind.as_u16() == PATCH_KIND |
| 805 | && e.tags.iter().any(|t| { | 805 | && e.tags.iter().any(|t| { |
| 806 | t.as_vec().len() > 2 | 806 | t.as_vec().len() > 2 |
| 807 | && proposal_root_events | 807 | && proposal_root_events |