fix: storage locations are in cacheDb
This commit is contained in:
parent
23e06e9cc4
commit
a418410bd9
|
@ -145,7 +145,7 @@ export class S5Node {
|
||||||
const map = new Map<number, Map<NodeId, Map<number, any>>>();
|
const map = new Map<number, Map<NodeId, Map<number, any>>>();
|
||||||
let bytes;
|
let bytes;
|
||||||
try {
|
try {
|
||||||
bytes = await this.db.get(stringifyHash(hash));
|
bytes = await this.config.cacheDb.get(stringifyHash(hash));
|
||||||
} catch {
|
} catch {
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue