parent
45414e6cfe
commit
e2069d2e29
@ -284,7 +284,7 @@ export default class Status {
|
||||
this._api.parity.netChain(),
|
||||
this._api.parity.netPort(),
|
||||
this._api.parity.rpcSettings(),
|
||||
this._api.parity.enode(),
|
||||
this._api.parity.enode().then((enode) => enode).catch(() => '-'),
|
||||
this._upgradeStore.checkUpgrade()
|
||||
])
|
||||
.then(([
|
||||
|
@ -326,7 +326,7 @@ export default class SecureApi extends Api {
|
||||
* the node is actually ready even when the client
|
||||
* is connected).
|
||||
*
|
||||
* We check that the `parity_enode` RPC calls
|
||||
* We check that the `parity_netChain` RPC calls
|
||||
* returns successfully
|
||||
*/
|
||||
_waitUntilNodeReady (_timeleft) {
|
||||
@ -344,7 +344,7 @@ export default class SecureApi extends Api {
|
||||
const start = Date.now();
|
||||
|
||||
return this
|
||||
.parity.enode()
|
||||
.parity.netChain()
|
||||
.then(() => true)
|
||||
.catch((error) => {
|
||||
if (!error) {
|
||||
|
Loading…
Reference in New Issue
Block a user