remove coins.json on init

This commit is contained in:
pbca26 2018-01-30 23:28:54 +03:00
parent 6f64e5db22
commit 3c87e82ac5
1 changed files with 5 additions and 4 deletions

View File

@ -230,6 +230,7 @@ ipcMain.on('shepherd-command', (event, arg) => {
StartMarketMaker = function(data) {
//console.log(data.passphrase);
try {
fs.unlink(BarterDEXDir+'/coins.json');
// check if marketmaker instance is already running
portscanner.checkPortStatus(7783, '127.0.0.1', function(error, status) {
// Status is 'open' if currently in use or 'closed' if available