diff --git a/app/components/LndSyncing/LndSyncing.scss b/app/components/LndSyncing/LndSyncing.scss index aa878fe2..247672aa 100644 --- a/app/components/LndSyncing/LndSyncing.scss +++ b/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; diff --git a/app/main.dev.js b/app/main.dev.js index 99bc4420..9fa4e1d2 100644 --- a/app/main.dev.js +++ b/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') }) }