chore: fix failing getBlockTime integration test (#11825)

This commit is contained in:
Justin Starry 2020-08-25 17:40:50 +08:00 committed by GitHub
parent 6dd5e51bd8
commit 72fa1d29a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1238,7 +1238,7 @@ test('get block time', async () => {
url,
{
method: 'getBlockTime',
params: [1],
params: [2],
},
{
error: null,
@ -1246,7 +1246,7 @@ test('get block time', async () => {
},
]);
const blockTime = await connection.getBlockTime(1);
const blockTime = await connection.getBlockTime(2);
if (blockTime === null) {
expect(blockTime).not.toBeNull();
} else {