Skip to content

Commit 84fe931

Browse files
committed
fix: 'getBlockTimestamp' has no 'await' expression
1 parent 1836146 commit 84fe931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/getBlockFromTimestamp.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ describe("getBlockFromTimestamp", () => {
3939
throw new Error(`block ${blockNumber} not found`);
4040
}
4141

42-
return timestamp;
42+
return Promise.resolve(timestamp);
4343
}
4444

4545
it("finds lowest block when multiple blocks have same timestamp", async () => {

0 commit comments

Comments
 (0)