Skip to content

Commit

Permalink
fix: fromBlock comes as string for the very first fetchEvents round s…
Browse files Browse the repository at this point in the history
…crewing the batch size. #243 (#248)
  • Loading branch information
troggy authored Apr 19, 2019
1 parent 31da940 commit ff2f29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bridgeState.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ module.exports = class BridgeState {
this.web3,
contracts,
this.eventsBuffer,
genesisBlock
parseInt(genesisBlock, 10)
);
const blockNumber = await this.web3.eth.getBlockNumber();
await this.eventsSubscription.init();
Expand Down

0 comments on commit ff2f29d

Please sign in to comment.