auto-start monero-wallet-rpc on app startup when binary is installed
Reduces wait time when switching to Monero tab — RPC is already running by the time user navigates there.
This commit is contained in:
@@ -125,6 +125,10 @@ export const Wallet = () => {
|
|||||||
if (ph) passwordHash = ph
|
if (ph) passwordHash = ph
|
||||||
|
|
||||||
await checkMoneroStatus()
|
await checkMoneroStatus()
|
||||||
|
if (moneroInstalled && !moneroRunning && !moneroDownloading) {
|
||||||
|
await moneroStart()
|
||||||
|
await checkMoneroStatus()
|
||||||
|
}
|
||||||
await checkBiometric()
|
await checkBiometric()
|
||||||
ready = true
|
ready = true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user