Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
fix: remove redundant multihashes dep (#66)
Browse files Browse the repository at this point in the history
The multihashes module is bundled with multihashing-async so no
need to depend on it as well.
  • Loading branch information
achingbrain authored Aug 5, 2020
1 parent 186efda commit 40a4221
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"buffer": "^5.6.0",
"cids": "^1.0.0",
"multicodec": "^2.0.0",
"multihashes": "^3.0.0",
"multihashing-async": "^2.0.0",
"uint8arrays": "^1.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
const BitcoinjsBlock = require('bitcoinjs-lib').Block
const CID = require('cids')
const multicodec = require('multicodec')
const multihashes = require('multihashes')
const multihashing = require('multihashing-async')
const multihashes = multihashing.multihash
const { Buffer } = require('buffer')

const BITCOIN_BLOCK_HEADER_SIZE = 80
Expand Down

0 comments on commit 40a4221

Please sign in to comment.