use bootstrap relays in account creation

This commit is contained in:
William Casarin
2022-12-18 17:36:33 -08:00
parent 015e0651a4
commit 573bf37fbb
2 changed files with 8 additions and 2 deletions

View File

@@ -80,7 +80,10 @@ struct SaveKeysView: View {
}
func complete_account_creation(_ account: CreateAccountModel) {
add_rw_relay(self.pool, "wss://relay.damus.io")
for relay in BOOTSTRAP_RELAYS {
add_rw_relay(self.pool, relay)
}
self.pool.register_handler(sub_id: "signup", handler: handle_event)
self.loading = true