upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/lib/client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/client.rs')
-rw-r--r--src/lib/client.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib/client.rs b/src/lib/client.rs
index 70f4b8c..534eb9e 100644
--- a/src/lib/client.rs
+++ b/src/lib/client.rs
@@ -660,9 +660,6 @@ pub async fn sign_event(
660 event_builder: EventBuilder, 660 event_builder: EventBuilder,
661 signer: &Arc<dyn NostrSigner>, 661 signer: &Arc<dyn NostrSigner>,
662) -> Result<nostr::Event> { 662) -> Result<nostr::Event> {
663 // TODO: Yuki suggested he would add a backend option to NostrSigner so we can
664 // identify nip46 signers again and replace the below if statement with:
665 // if signer.backend() == nip46 {
666 if signer.backend() == SignerBackend::NostrConnect { 663 if signer.backend() == SignerBackend::NostrConnect {
667 let term = console::Term::stderr(); 664 let term = console::Term::stderr();
668 term.write_line("signing event with remote signer...")?; 665 term.write_line("signing event with remote signer...")?;