mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
commit
c0354746bd
@ -109,7 +109,7 @@ const identity = await identities.createIdentity({ id: 'me' })
|
||||
const cid = CID.parse(identity.hash, base58btc)
|
||||
|
||||
// Extract the hash from the full db path.
|
||||
const bytes = await ipfs.block.get(cid)
|
||||
const bytes = await ipfs.blockstore.get(cid)
|
||||
|
||||
// Defines how we serialize/hash the data.
|
||||
const codec = dagCbor
|
||||
|
Loading…
x
Reference in New Issue
Block a user