diff --git a/main.js b/main.js index a8f9fef..f58b8cc 100644 --- a/main.js +++ b/main.js @@ -478,7 +478,7 @@ function createWindow(status) { let _appClosingInterval; - shepherd.killRogueProcess('marketmaker'); + // shepherd.killRogueProcess('marketmaker'); if (!Object.keys(shepherd.coindInstanceRegistry).length || !appConfig.stopNativeDaemonsOnQuit) { closeApp(); @@ -514,7 +514,7 @@ app.on('window-all-closed', function() { // Calling event.preventDefault() will prevent the default behaviour, which is terminating the application. app.on('before-quit', function(event) { shepherd.log('before-quit'); - shepherd.killRogueProcess('marketmaker'); + // shepherd.killRogueProcess('marketmaker'); /*if (!forceQuitApp && mainWindow === null && diff --git a/routes/shepherd/electrum/keys.js b/routes/shepherd/electrum/keys.js index a476999..8a72086 100644 --- a/routes/shepherd/electrum/keys.js +++ b/routes/shepherd/electrum/keys.js @@ -1,10 +1,10 @@ const sha256 = require('js-sha256'); module.exports = (shepherd) => { - shepherd.seedToWif = (seed, network, iguana, old) => { + shepherd.seedToWif = (seed, network, iguana) => { let bytes; - if (old) { + if (process.argv.indexOf('spvold=true') > -1) { bytes = shepherd.sha256(seed, { asBytes: true }); } else { const hash = sha256.create().update(seed);