Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
remove unnecessary ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeseese committed Aug 24, 2020
1 parent 3f56085 commit e53379c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/forking/forked_blockchain.js
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,7 @@ ForkedBlockchain.prototype.getStorage = function(address, key, number, callback)
} else {
// we're looking for something prior to forking, so let's
// hit eth_getStorageAt
const queryBlockNumber = blockNumber > this.forkBlockNumber ? this.forkBlockNumber : blockNumber;
this.web3.eth.getStorageAt(to.rpcDataHexString(address), to.rpcDataHexString(key), queryBlockNumber, function(
this.web3.eth.getStorageAt(to.rpcDataHexString(address), to.rpcDataHexString(key), blockNumber, function(
err,
value
) {
Expand Down

0 comments on commit e53379c

Please sign in to comment.