From df1660b1b78b5881c64c6fadd4ae12c8c01c6684 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 11 Sep 2024 12:52:46 +0100 Subject: refactor: fix fmt and clippy issues which potentially were only identified when a dependancy was updated --- src/lib/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/client.rs') diff --git a/src/lib/client.rs b/src/lib/client.rs index c29d4b9..455725c 100644 --- a/src/lib/client.rs +++ b/src/lib/client.rs @@ -145,7 +145,7 @@ impl Connect for Client { Client { client: nostr_sdk::ClientBuilder::new() .opts(Options::new().relay_limits(RelayLimits::disable())) - .signer(&opts.keys.unwrap_or(nostr::Keys::generate())) + .signer(opts.keys.unwrap_or(nostr::Keys::generate())) // .database( // SQLiteDatabase::open(get_dirs()?.cache_dir().join("nostr-cache.sqlite")). // await?, ) -- cgit v1.2.3