Skip to content

Commit

Permalink
Use new burningman accounting file from full accounting node
Browse files Browse the repository at this point in the history
PR bisq-network#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.
  • Loading branch information
alejandrogarcia83 authored and helixx87 committed Feb 13, 2024
1 parent a35483a commit cb3456d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
@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,
Expand All @@ -66,6 +66,7 @@ protected void readFromResources(String postFix, Runnable completeHandler) {
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);
}
Expand Down
Binary file not shown.

0 comments on commit cb3456d

Please sign in to comment.