remove coins.json on init
This commit is contained in:
parent
6f64e5db22
commit
3c87e82ac5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue