Merge pull request #1196 from Jon-Biz/patch-1

Update IDENTITIES.md
This commit is contained in:
Hayden Young 2024-10-15 18:20:43 +08:00 committed by GitHub
commit c0354746bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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