Skip to content
Snippets Groups Projects
Commit b3c2b413 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[enh] `reset full` should also delete "blockchain" folder

parent 6faa1961
No related branches found
No related tags found
No related merge requests found
......@@ -226,7 +226,7 @@ function Server (home, memoryOnly, overrideConf) {
this.resetAll = (done) => co(function*() {
const files = ['stats', 'cores', 'current', directory.DUNITER_DB_NAME, directory.DUNITER_DB_NAME + '.db', directory.DUNITER_DB_NAME + '.log', directory.WOTB_FILE, 'export.zip', 'import.zip', 'conf'];
const dirs = ['blocks', 'ud_history', 'branches', 'certs', 'txs', 'cores', 'sources', 'links', 'ms', 'identities', 'peers', 'indicators', 'leveldb'];
const dirs = ['blocks', 'blockchain', 'ud_history', 'branches', 'certs', 'txs', 'cores', 'sources', 'links', 'ms', 'identities', 'peers', 'indicators', 'leveldb'];
return resetFiles(files, dirs, done);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment