fix: storage locations are in cacheDb

This commit is contained in:
Derrick Hammer 2023-11-18 05:19:34 -05:00
parent 23e06e9cc4
commit a418410bd9
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ export class S5Node {
const map = new Map<number, Map<NodeId, Map<number, any>>>();
let bytes;
try {
bytes = await this.db.get(stringifyHash(hash));
bytes = await this.config.cacheDb.get(stringifyHash(hash));
} catch {
return map;
}