Browse Source

fix(neutrino hosts): fix neutrino hosts

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
68404f4a61
  1. 7
      app/app.global.scss
  2. 3
      app/main.dev.js
  3. 15
      app/reducers/channels.js

7
app/app.global.scss

@ -86,7 +86,8 @@ body {
padding-bottom: 15px;
border-radius: 2px;
text-align: center;
font-size: 18px;
font-size: 16px;
letter-spacing: 1.5px;
transition: none;
position: relative;
color: white;
@ -98,10 +99,13 @@ body {
}
.buttonPrimary {
// background-color: #353535;
background-color: $main;
// box-shadow: 0 3px 0 0 darken(#353535, 10%);
box-shadow: 0 3px 0 0 darken($main, 10%);
&:active {
// box-shadow: inset 0 1px 1px 1px darken(#353535, 10%);
box-shadow: inset 0 1px 1px 1px darken($main, 10%);
}
}
@ -112,6 +116,7 @@ body {
}
.buttonPrimary.inactive:active {
// box-shadow: 0 3px 0 0 darken(#353535, 10%);
box-shadow: 0 3px 0 0 darken($main, 10%);
transform: none;
}

3
app/main.dev.js

@ -165,7 +165,8 @@ export const startLnd = () => {
'--bitcoin.active',
'--bitcoin.testnet',
'--neutrino.active',
'--neutrino.connect=faucet.lightning.community:18333',
'--neutrino.connect=btcd0.lightning.computer:18333',
'--neutrino.connect=127.0.0.1:18333',
'--autopilot.active',
'--debuglevel=debug',
'--no-macaroons',

15
app/reducers/channels.js

@ -165,27 +165,32 @@ export const closeChannel = ({ channel_point }) => (dispatch) => {
// TODO: Decide how to handle streamed updates for closing channels
// Receive IPC event for closeChannel
export const closeChannelSuccessful = () => (dispatch) => {
export const closeChannelSuccessful = (event, data) => (dispatch) => {
console.log('PUSH CLOSE CHANNEL SUCCESSFUL: ', data)
dispatch(fetchChannels())
}
// Receive IPC event for updated closing channel
export const pushclosechannelupdated = () => (dispatch) => {
export const pushclosechannelupdated = (event, data) => (dispatch) => {
console.log('PUSH CLOSE CHANNEL UPDATED: ', data)
dispatch(fetchChannels())
}
// Receive IPC event for closing channel end
export const pushclosechannelend = () => (dispatch) => {
export const pushclosechannelend = (event, data) => (dispatch) => {
console.log('PUSH CLOSE CHANNEL END: ', data)
dispatch(fetchChannels())
}
// Receive IPC event for closing channel error
export const pushclosechannelerror = () => (dispatch) => {
export const pushclosechannelerror = (event, data) => (dispatch) => {
console.log('PUSH CLOSE CHANNEL END: ', data)
dispatch(fetchChannels())
}
// Receive IPC event for closing channel status
export const pushclosechannelstatus = () => (dispatch) => {
export const pushclosechannelstatus = (event, data) => (dispatch) => {
console.log('PUSH CLOSE CHANNEL STATUS: ', data)
dispatch(fetchChannels())
}

Loading…
Cancel
Save