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