Watch dir instead of json file.

Adding divider to network dropdown.
This commit is contained in:
softsimon
2020-07-16 00:33:53 +07:00
parent 3327cc6100
commit 5d396f031d
4 changed files with 7 additions and 2 deletions

View File

@@ -196,7 +196,7 @@ class Bisq {
private loadData(): Promise<string> {
return new Promise((resolve, reject) => {
fs.readFile(config.BSQ_BLOCKS_DATA_PATH, 'utf8', (err, data) => {
fs.readFile(config.BSQ_BLOCKS_DATA_PATH + '/blocks.json', 'utf8', (err, data) => {
if (err) {
reject(err);
}