Skip to content

Commit

Permalink
Fix read commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastijankuzner committed Dec 5, 2024
1 parent 038347f commit b09f10c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/database/source/database-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export class DatabaseService implements Contracts.Database.DatabaseService {
const data = this.#readCommitBytes(height);

if (!data) {
throw new Error(`Failed to read commit at height ${height}`);
return;
}

const commit = await this.commitFactory.fromBytes(data);
Expand Down

0 comments on commit b09f10c

Please sign in to comment.