Browse Source

wif 2 wif fix

v0.25
pbca26 7 years ago
parent
commit
24ef23ed04
  1. 1
      private/mainmenu.js
  2. 2
      routes/shepherd/electrum/keys.js

1
private/mainmenu.js

@ -93,7 +93,6 @@ const template = [
{ {
label: 'Reset settings', label: 'Reset settings',
click (item, focusedWindow) { click (item, focusedWindow) {
console.log(focusedWindow);
focusedWindow.resetSettings(); focusedWindow.resetSettings();
} }
}, },

2
routes/shepherd/electrum/keys.js

@ -77,7 +77,7 @@ module.exports = (shepherd) => {
shepherd.post('/electrum/seedtowif', (req, res, next) => { shepherd.post('/electrum/seedtowif', (req, res, next) => {
if (shepherd.checkToken(req.body.token)) { if (shepherd.checkToken(req.body.token)) {
let keys = shepherd.seedToWif(req.body.seed, req.body.network, req.body.iguana); let keys = shepherd.seedToWif(req.body.seed, req.body.network.toLowerCase(), req.body.iguana);
const successObj = { const successObj = {
msg: 'success', msg: 'success',

Loading…
Cancel
Save