Skip to content

Commit

Permalink
fix(fs-block-cache): fix hard coded path PE-2284
Browse files Browse the repository at this point in the history
Missed one place where baseDir should have been used.
  • Loading branch information
djwhitt committed Oct 19, 2022
1 parent 32ab529 commit 43ef9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache/fs-block-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class FsBlockStore implements PartialJsonBlockStore {
}

private blockHeightDir(height: number) {
return `data/headers/partial-blocks/height/${height % 1000}`;
return `${this.baseDir}/height/${height % 1000}`;
}

private blockHeightPath(height: number) {
Expand Down

0 comments on commit 43ef9ad

Please sign in to comment.