Browse Source

fix(sync style): update the sync style background

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
589ca358fd
  1. 1
      app/components/LndSyncing/LndSyncing.scss
  2. 12
      app/main.dev.js

1
app/components/LndSyncing/LndSyncing.scss

@ -3,6 +3,7 @@
.container {
height: 100vh;
padding: 100px;
background: linear-gradient(100deg, rgba(235, 184, 100, 0.5) 33%, rgba(0, 0, 0, 0.7));
h3 {
font-size: 50px;

12
app/main.dev.js

@ -196,10 +196,14 @@ const startLnd = () => {
}
// When LND is all caught up to the blockchain
if (line.includes('Done catching up block hashes')) {
if (line.includes('Chain backend is fully synced')) {
// Log that LND is caught up to the current block height
console.log('DONE CATCHING UP BLOCK HASHES')
console.log('NEUTRINO IS SYNCED')
// Check for certs to exists before we do things
// Let the front end know we have stopped syncing LND
syncing = false
mainWindow.webContents.send('lndSynced')
}
})
}
@ -214,9 +218,5 @@ const startGrpc = () => {
ipcMain.on('lnd', (event, { msg, data }) => {
lndMethods(event, msg, data)
})
// Let the front end know we have stopped syncing LND
syncing = false
mainWindow.webContents.send('lndSynced')
})
}

Loading…
Cancel
Save