Skip to content

Commit

Permalink
Fix for var shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
wi-ski committed Jun 27, 2019
1 parent c0bec63 commit 9050228
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/node-http-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ describe('Node http', function() {
plugins: [require('../lib/wallet/plugin')]
});

const witnessedBlockHashes = {};
node.on('connect', (entry, block) => {
const blockHash = block.hash().toString('hex');
witnessedBlockHashes[blockHash] = blockHash;
witnessedBlocks[blockHash] = blockHash;
});

miner = node.miner;
Expand Down

0 comments on commit 9050228

Please sign in to comment.