feat: blockchain status checking no longer dependent on plugin status
This commit is contained in:
parent
3c33695b9d
commit
f23f31e4d9
4 changed files with 23 additions and 27 deletions
|
|
@ -202,10 +202,7 @@ function checkBlockchainStatus (cryptoCode) {
|
|||
}
|
||||
|
||||
return jsonRpc.fetchDigest(rpcConfig, 'get_info')
|
||||
.then(res => {
|
||||
console.log('res XMR', res)
|
||||
return !!res.synchronized ? 'ready' : 'syncing'
|
||||
})
|
||||
.then(res => !!res.synchronized ? 'ready' : 'syncing')
|
||||
} catch (err) {
|
||||
throw new Error('XMR daemon is currently not installed')
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue