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

3
app/main.dev.js

@ -165,7 +165,8 @@ export const startLnd = () => {
'--bitcoin.active', '--bitcoin.active',
'--bitcoin.testnet', '--bitcoin.testnet',
'--neutrino.active', '--neutrino.active',
'--neutrino.connect=faucet.lightning.community:18333', '--neutrino.connect=btcd0.lightning.computer:18333',
'--neutrino.connect=127.0.0.1:18333',
'--autopilot.active', '--autopilot.active',
'--debuglevel=debug', '--debuglevel=debug',
'--no-macaroons', '--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 // TODO: Decide how to handle streamed updates for closing channels
// Receive IPC event for closeChannel // Receive IPC event for closeChannel
export const closeChannelSuccessful = () => (dispatch) => { export const closeChannelSuccessful = (event, data) => (dispatch) => {
console.log('PUSH CLOSE CHANNEL SUCCESSFUL: ', data)
dispatch(fetchChannels()) dispatch(fetchChannels())
} }
// Receive IPC event for updated closing channel // 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()) dispatch(fetchChannels())
} }
// Receive IPC event for closing channel end // 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()) dispatch(fetchChannels())
} }
// Receive IPC event for closing channel error // 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()) dispatch(fetchChannels())
} }
// Receive IPC event for closing channel status // 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()) dispatch(fetchChannels())
} }

Loading…
Cancel
Save