Browse Source

refactor: remove unused method call

renovate/lint-staged-8.x
Tom Kirkpatrick 6 years ago
parent
commit
393215470a
No known key found for this signature in database GPG Key ID: 72203A8EC5967EA8
  1. 2
      app/lib/lnd/methods/index.js
  2. 2
      app/reducers/info.js

2
app/lib/lnd/methods/index.js

@ -28,7 +28,7 @@ export default function(lnd, log, event, msg, data) {
event.sender.send('receiveCryptocurrency', infoData.chains[0]) event.sender.send('receiveCryptocurrency', infoData.chains[0])
return infoData return infoData
}) })
.catch(() => event.sender.send('infoFailed')) .catch(error => log.error('info:', error))
break break
case 'describeNetwork': case 'describeNetwork':
networkController networkController

2
app/reducers/info.js

@ -72,8 +72,6 @@ const networks = {
unitPrefix: '' unitPrefix: ''
} }
} }
// IPC info fetch failed
// export const infoFailed = (event, data) => dispatch => {}
// ------------------------------------ // ------------------------------------
// Action Handlers // Action Handlers

Loading…
Cancel
Save