Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Commit 2b34143

Browse files
vpulimpzagor2
andauthored
Update README.md
Co-Authored-By: pzagor2 <[email protected]>
1 parent d920ef1 commit 2b34143

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const Blockchain = require('ethereumjs-blockchain')
2121
const utils = require('ethereumjs-util')
2222

2323
const gethDbPath = './chaindata' // Add your own path here
24-
const db = levelup(leveldown(gethDbPath))
24+
const db = level(gethDbPath)
2525

2626
new Blockchain({db: db}).iterator('i', (block, reorg, cb) => {
2727
const blockNumber = utils.bufferToInt(block.header.number)

0 commit comments

Comments
 (0)