Clean local block cache before loading dump:

This commit is contained in:
nymkappa 2022-04-27 13:06:16 +09:00
parent 0ad267b07f
commit 6d308fc81c
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

View File

@ -156,6 +156,7 @@ class Bisq {
} }
private async loadBisqDumpFile(): Promise<void> { private async loadBisqDumpFile(): Promise<void> {
this.allBlocks = [];
try { try {
await this.loadData(); await this.loadData();
this.buildIndex(); this.buildIndex();