From 27dacd048a2d5b4ea177fa69fccb10c8748e781d Mon Sep 17 00:00:00 2001 From: linuskendall Date: Mon, 21 Aug 2023 10:26:18 +0100 Subject: [PATCH] Timeout --- tests/web3/test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/web3/test.ts b/tests/web3/test.ts index bd92898b..d4759af9 100644 --- a/tests/web3/test.ts +++ b/tests/web3/test.ts @@ -1,11 +1,11 @@ const web3 = require("@solana/web3.js"); test('get legacy blocks', async () => { - const connection = new web3.Connection('https://rpc.old-faithful.net/', 'finalized', 20000); + const connection = new web3.Connection('https://rpc.old-faithful.net/', 'finalized'); const block = await connection.getBlock(209520022, { commitment: 'finalized', maxSupportedTransactionVersion: 0, }); console.log('block 1 blockhash is ' + block?.blockhash); -}) +}, 20000)