From 30f1a3efa9265b1403a7aa68fffbd65291face3d Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 11 Nov 2024 13:08:35 +0000 Subject: chore: bump rust-nostr v0.36 bump all rust-nostr packages to latest issued version. there have been some breaking changes to nip46 and this applies these changes. --- src/lib/repo_ref.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/repo_ref.rs') diff --git a/src/lib/repo_ref.rs b/src/lib/repo_ref.rs index 9bee641..8b48824 100644 --- a/src/lib/repo_ref.rs +++ b/src/lib/repo_ref.rs @@ -3,6 +3,7 @@ use std::{ fs::File, io::BufReader, str::FromStr, + sync::Arc, }; use anyhow::{bail, Context, Result}; @@ -116,7 +117,7 @@ impl TryFrom for RepoRef { } impl RepoRef { - pub async fn to_event(&self, signer: &NostrSigner) -> Result { + pub async fn to_event(&self, signer: &Arc) -> Result { sign_event( nostr_sdk::EventBuilder::new( nostr::event::Kind::GitRepoAnnouncement, -- cgit v1.2.3