mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-07-09 22:12:30 +00:00
Update IDENTITIES.md
This commit is contained in:
parent
af55f118fe
commit
f15b704153
@ -109,7 +109,7 @@ const identity = await identities.createIdentity({ id: 'me' })
|
|||||||
const cid = CID.parse(identity.hash, base58btc)
|
const cid = CID.parse(identity.hash, base58btc)
|
||||||
|
|
||||||
// Extract the hash from the full db path.
|
// 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.
|
// Defines how we serialize/hash the data.
|
||||||
const codec = dagCbor
|
const codec = dagCbor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user