diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-04-01 14:31:34 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-04-01 14:35:50 +0100 |
| commit | 948fe972eb2bddf187b79f2673a091b6331cfd90 (patch) | |
| tree | ec1c538d28108b104b5a00afd673631538f9aa00 /src/lib/login/existing.rs | |
| parent | 70966d571fce16f707725c6b0af0fd585bfce607 (diff) | |
chore: bump rust-nostr v0.37 ~> v0.40
and fix all of the breaking changes
Diffstat (limited to 'src/lib/login/existing.rs')
| -rw-r--r-- | src/lib/login/existing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/login/existing.rs b/src/lib/login/existing.rs index efe187e..e60621d 100644 --- a/src/lib/login/existing.rs +++ b/src/lib/login/existing.rs | |||
| @@ -208,7 +208,7 @@ async fn get_signer( | |||
| 208 | Duration::from_secs(10 * 60), | 208 | Duration::from_secs(10 * 60), |
| 209 | None, | 209 | None, |
| 210 | )?; | 210 | )?; |
| 211 | if let Some(public_key) = npub.clone().and_then(|npub| PublicKey::parse(npub).ok()) { | 211 | if let Some(public_key) = npub.clone().and_then(|npub| PublicKey::parse(&npub).ok()) { |
| 212 | s.non_secure_set_user_public_key(public_key)?; | 212 | s.non_secure_set_user_public_key(public_key)?; |
| 213 | let signer: Arc<dyn NostrSigner> = Arc::new(s); | 213 | let signer: Arc<dyn NostrSigner> = Arc::new(s); |
| 214 | Ok((signer, public_key)) | 214 | Ok((signer, public_key)) |