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

Commit

Permalink
fixup! update README
Browse files Browse the repository at this point in the history
  • Loading branch information
vmx committed Apr 29, 2019
1 parent ee0a7b0 commit f6d6a9f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,8 @@ Though it can also be used as a standalone module:
const IpldBitcoin = require('ipld-bitcoin')

// `bitcoinBlock` is some binary Bitcoin block
IpldBitcoin.util.deserialize(bitcoinBlock, (err, dagNode) => {
if (err) {
throw err
}
console.log(dagNode)
})
const dagNode = IpldBitcoin.util.deserialize(bitcoinBlock)
console.log(dagNode)
```

## Contribute
Expand Down

0 comments on commit f6d6a9f

Please sign in to comment.