Browse Source

commi

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
8fb861fb95
  1. 6
      app/reducers/address.js
  2. BIN
      resources/bin/darwin/lnd

6
app/reducers/address.js

@ -24,11 +24,15 @@ export function getAddress() {
// Send IPC event for getinfo
export const newAddress = type => async (dispatch) => {
dispatch(getAddress())
console.log('getting new address type: ', addressTypes[type])
ipcRenderer.send('lnd', { msg: 'newaddress', data: { type: addressTypes[type] } })
}
// Receive IPC event for info
export const receiveAddress = (event, address) => dispatch => dispatch({ type: RECEIVE_ADDRESS, address })
export const receiveAddress = (event, address) => dispatch => {
console.log('address: ', address)
dispatch({ type: RECEIVE_ADDRESS, address })
}
// ------------------------------------
// Action Handlers

BIN
resources/bin/darwin/lnd

Binary file not shown.
Loading…
Cancel
Save