Skip to content

Commit

Permalink
fix(doc): export from multiformats/block
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw authored Aug 24, 2021
1 parent f6962e6 commit 6915e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const cid = CID.create(1, json.code, hash)
### Creating Blocks

```js
import Block from 'multiformats/block'
import * as Block from 'multiformats/block'
import * as codec from '@ipld/dag-cbor'
import { sha256 as hasher } from 'multiformats/hashes/sha2'

Expand Down

0 comments on commit 6915e02

Please sign in to comment.