Skip to content

Commit

Permalink
Fix: wot.bin file should be removed when ALL files get removed
Browse files Browse the repository at this point in the history
  • Loading branch information
c-geek committed Mar 2, 2016
1 parent 2d086e7 commit cf2241b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/dal/fileDAL.js
Original file line number Diff line number Diff line change
Expand Up @@ -1126,7 +1126,7 @@ function FileDAL(home, localDir, myFS, dalName, sqlite, wotbInstance) {
};

this.resetAll = function(done) {
var files = ['stats', 'cores', 'current', 'conf', UCOIN_DB_NAME, UCOIN_DB_NAME + '.db'];
var files = ['stats', 'cores', 'current', 'conf', UCOIN_DB_NAME, UCOIN_DB_NAME + '.db', WOTB_FILE];
var dirs = ['blocks', 'ud_history', 'branches', 'certs', 'txs', 'cores', 'sources', 'links', 'ms', 'identities', 'peers', 'indicators', 'leveldb'];
return resetFiles(files, dirs, done);
};
Expand Down

0 comments on commit cf2241b

Please sign in to comment.