From f1b3fcc40ab666d8def97096d1942c274da9b279 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 11 Jun 2024 16:21:44 +0100 Subject: 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 --- src/sub_commands/list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sub_commands/list.rs') 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( .context("cannot fetch patch events")? .iter() .filter(|e| { - e.kind.as_u64() == PATCH_KIND + e.kind.as_u16() == PATCH_KIND && e.tags.iter().any(|t| { t.as_vec().len() > 2 && proposal_root_events -- cgit v1.2.3