review
This commit is contained in:
@@ -12,10 +12,6 @@ use nostr_sdk::prelude::*;
|
||||
|
||||
use crate::signer::UniversalSigner;
|
||||
|
||||
/// Open or create the LMDB database at `db_path`.
|
||||
/// Build a Signed client and a fresh signer for it.
|
||||
/// The SDK manages its own internal tokio runtime.
|
||||
/// The returned client can be driven by GPUI's executors.
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub async fn new_backend(db_path: impl AsRef<Path>) -> Result<(Client, UniversalSigner)> {
|
||||
let signer = UniversalSigner::new(Keys::generate());
|
||||
|
||||
Reference in New Issue
Block a user