From fc3f22eac2bb81823f170f61ba9d39baff76b933 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 26 Jan 2024 21:32:21 +0000 Subject: chore: upgrade rust-nostr v0.27.0 this is a contribution from jk (sectore) that I rebased and squashed into this commit. the tests were broken in the last few commits to rush out some fixes. this change may introduce more issues because of Relay.respond_standard_req. --- src/key_handling/users.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/key_handling') diff --git a/src/key_handling/users.rs b/src/key_handling/users.rs index 42104f7..caa57e6 100644 --- a/src/key_handling/users.rs +++ b/src/key_handling/users.rs @@ -551,7 +551,7 @@ mod tests { nostr::event::EventBuilder::new( nostr::Kind::RelayList, "", - &[ + [ nostr::Tag::RelayMetadata( "wss://fredswrite1.relay".into(), Some(nostr::RelayMetadata::Write), @@ -571,7 +571,7 @@ mod tests { nostr::event::EventBuilder::new( nostr::Kind::RelayList, "", - &[ + [ nostr::Tag::RelayMetadata( "wss://carolswrite1.relay".into(), Some(nostr::RelayMetadata::Write), -- cgit v1.2.3