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/git.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/git.rs') diff --git a/src/git.rs b/src/git.rs index e797cb8..fb3b353 100644 --- a/src/git.rs +++ b/src/git.rs @@ -948,8 +948,8 @@ mod tests { fn test(time: git2::Time) -> Result<()> { assert_eq!( extract_sig_from_patch_tags( - &[nostr::Tag::Generic( - nostr::TagKind::Custom("author".to_string()), + &[nostr::Tag::custom( + nostr::TagKind::Custom("author".to_string().into()), prep(&time)?, )], "author", -- cgit v1.2.3