mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Use new burningman accounting file from full accounting node
PR #6740 was a diff against master (instead against the release/v1.9.11 branch). The previous merge into the release branch corrupted the acounting file.
This commit is contained in:
parent
da9caf56a2
commit
0c3e5a8c5e
2 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,7 @@ import lombok.extern.slf4j.Slf4j;
|
|||
@Slf4j
|
||||
@Singleton
|
||||
public class BurningManAccountingStoreService extends StoreService<BurningManAccountingStore> {
|
||||
private static final String FILE_NAME = "BurningManAccountingStore_v2";
|
||||
private static final String FILE_NAME = "BurningManAccountingStore_v3";
|
||||
|
||||
@Inject
|
||||
public BurningManAccountingStoreService(ResourceDataStoreService resourceDataStoreService,
|
||||
|
@ -66,6 +66,7 @@ public class BurningManAccountingStoreService extends StoreService<BurningManAcc
|
|||
try {
|
||||
// Delete old BurningManAccountingStore file which was missing some data.
|
||||
FileUtil.deleteFileIfExists(Path.of(absolutePathOfStorageDir, "BurningManAccountingStore").toFile());
|
||||
FileUtil.deleteFileIfExists(Path.of(absolutePathOfStorageDir, "BurningManAccountingStore_v2").toFile());
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue