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

Commit 7ae5db9

Browse files
committed
Update tests
1 parent 87ec3a4 commit 7ae5db9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ test('blockchain test', function(t) {
7373
})
7474
},
7575
function invalidGenesis(done) {
76-
const blockchain = new Blockchain({ validate: true })
76+
const localBlockchain = new Blockchain({ validate: true })
7777
const badBlock = new Block()
7878
badBlock.header.number = Buffer.from([])
7979

80-
blockchain.putBlock(
80+
localBlockchain.putBlock(
8181
badBlock,
8282
function(err?: any) {
8383
t.ok(err, 'should not validate a block incorrectly flagged as genesis')

0 commit comments

Comments
 (0)