diff --git a/docs/examples/ethers/block_by_timestamp.js b/docs/examples/ethers/block_by_timestamp.js index 7a0373d..03f6f61 100644 --- a/docs/examples/ethers/block_by_timestamp.js +++ b/docs/examples/ethers/block_by_timestamp.js @@ -23,6 +23,6 @@ async function getBlockNumberByTimestamp(timestamp, low = 0, high = latest.numbe } } -const timestamp = new Date('2010-08-03').getTime()/1000 +const timestamp = new Date('2019-06-01').getTime()/1000 const blockNumber = await getBlockNumberByTimestamp(timestamp) const block = await provider.getBlock(blockNumber)