mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-10-07 22:57:07 +00:00
Fix database address usage
This commit is contained in:
@@ -11,7 +11,7 @@ const KeyValuePersisted = async ({ OpLog, Database, ipfs, identity, address, nam
|
||||
|
||||
const queue = new PQueue({ concurrency: 1 })
|
||||
|
||||
directory = path.join(directory || './orbitdb', `./${address.path}/_index/`)
|
||||
directory = path.join(directory || './orbitdb', `./${address}/_index/`)
|
||||
const index = await LevelStorage({ path: directory, valueEncoding })
|
||||
|
||||
let latestOplogHash
|
||||
|
||||
Reference in New Issue
Block a user