Skip to content

Commit 1836146

Browse files
committed
fix: query return cast
1 parent fb5f0f0 commit 1836146

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blockCache/sqlite.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export function createSqliteBlockCache(opts: Options): BlockCache {
112112
const row = dbState.getBlockNumberByTimestampStmt.get(
113113
chainId,
114114
timestamp
115-
) as Block | undefined;
115+
) as Row | undefined;
116116

117117
return Promise.resolve(row ? BigInt(row.blockNumber) : null);
118118
},

0 commit comments

Comments
 (0)