From e8e54e9d4aa33357a16fb78137fcaa26521a6fb7 Mon Sep 17 00:00:00 2001 From: Dmitry Vasilev Date: Thu, 10 Aug 2023 12:49:12 +0300 Subject: [PATCH] fix example --- docs/examples/ethers/block_by_timestamp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)