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

fix: remove redundant multihashes dep #66

Merged
merged 1 commit into from
Aug 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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