ndb: add safemode so we don't instantly crash on bad dbs
Fixes: https://github.com/damus-io/damus/issues/1741
This commit is contained in:
@@ -64,7 +64,7 @@ var test_damus_state: DamusState = ({
|
||||
}
|
||||
|
||||
print("opening \(tempDir!)")
|
||||
let ndb = try! Ndb(path: tempDir)!
|
||||
let ndb = Ndb(path: tempDir)!
|
||||
let our_pubkey = test_pubkey
|
||||
let pool = RelayPool(ndb: ndb)
|
||||
let settings = UserSettingsStore()
|
||||
|
||||
Reference in New Issue
Block a user