Merge pull request #1133 from chaotixkilla/fix-blockchain-installation
Remove plugin dependency from blockchain status checking
This commit is contained in:
commit
e6194e8d04
4 changed files with 23 additions and 27 deletions
|
|
@ -196,10 +196,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