Browse Source

bump electron version

pkg_automation_electrum
pbca26 7 years ago
parent
commit
6af3918ecb
  1. 2
      package.json
  2. 2
      routes/shepherd/downloadPatch.js
  3. 6
      routes/shepherd/electrum/keys.js
  4. 3
      routes/shepherd/electrum/listunspent.js

2
package.json

@ -40,7 +40,7 @@
"body-parser": "^1.15.2",
"buffer-reverse": "^1.0.1",
"coinselect": "github:bitcoinjs/coinselect",
"electron": "1.7.10",
"electron": "1.7.11",
"express": "^4.14.0",
"fix-path": "^2.1.0",
"fs-extra": "^4.0.2",

2
routes/shepherd/downloadPatch.js

@ -8,7 +8,7 @@ module.exports = (shepherd) => {
if (shepherd.checkToken(req.query.token)) {
const successObj = {
msg: 'success',
result: 'dl started'
result: 'dl started',
};
res.end(JSON.stringify(successObj));

6
routes/shepherd/electrum/keys.js

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

3
routes/shepherd/electrum/listunspent.js

@ -167,7 +167,8 @@ module.exports = (shepherd) => {
network,
true,
req.query.verify
).then((listunspent) => {
)
.then((listunspent) => {
shepherd.log('electrum listunspent ==>', true);
const successObj = {

Loading…
Cancel
Save