chore: remove storage layer
This commit is contained in:
@@ -47,15 +47,19 @@ fn main() {
|
||||
client
|
||||
.add_relay("wss://nostr.mutinywallet.com")
|
||||
.await
|
||||
.expect("Failed to add bootstrap relay.");
|
||||
.unwrap_or_default();
|
||||
client
|
||||
.add_relay("wss://bostr.yonle.lecturify.net")
|
||||
.add_relay("wss://relay.nostr.band")
|
||||
.await
|
||||
.expect("Failed to add bootstrap relay.");
|
||||
.unwrap_or_default();
|
||||
client
|
||||
.add_relay("wss://relay.damus.io")
|
||||
.await
|
||||
.unwrap_or_default();
|
||||
client
|
||||
.add_relay("wss://purplepag.es")
|
||||
.await
|
||||
.expect("Failed to add bootstrap relay.");
|
||||
.unwrap_or_default();
|
||||
|
||||
// Connect
|
||||
client.connect().await;
|
||||
|
||||
@@ -48,7 +48,6 @@ pub async fn save_key(
|
||||
.get_contact_list_public_keys(Some(Duration::from_secs(10)))
|
||||
.await
|
||||
{
|
||||
println!("total contacts: {}", list.len());
|
||||
*contact_list = Some(list);
|
||||
}
|
||||
|
||||
@@ -161,7 +160,6 @@ pub async fn load_selected_account(
|
||||
.get_contact_list_public_keys(Some(Duration::from_secs(10)))
|
||||
.await
|
||||
{
|
||||
println!("total contacts: {}", list.len());
|
||||
*contact_list = Some(list);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user