Skip to content

Commit 9050228

Browse files
committed
Fix for var shadowing
1 parent c0bec63 commit 9050228

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/node-http-test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,9 @@ describe('Node http', function() {
4747
plugins: [require('../lib/wallet/plugin')]
4848
});
4949

50-
const witnessedBlockHashes = {};
5150
node.on('connect', (entry, block) => {
5251
const blockHash = block.hash().toString('hex');
53-
witnessedBlockHashes[blockHash] = blockHash;
52+
witnessedBlocks[blockHash] = blockHash;
5453
});
5554

5655
miner = node.miner;

0 commit comments

Comments
 (0)