Skip to content

Commit

Permalink
Merge pull request #285 from pshenmic/feat/undefined-validator-fix
Browse files Browse the repository at this point in the history
Fix for null TCP_CONNECT_TIMEOUT
  • Loading branch information
pshenmic authored Oct 18, 2024
2 parents 747e9b9 + c0bf65e commit 8ee9e4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/controllers/ValidatorsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ValidatorsController {
checkTcpConnect(servicePort, host),
checkTcpConnect(proTxInfo?.state.platformP2PPort, host),
checkTcpConnect(proTxInfo?.state.platformHTTPPort, host)
])).map((e) => e?.reason.code ? e?.reason.code : e.message)
])).map((e) => e.value ?? (e.reason?.code ? e.reason?.code : e.message))

const endpoints = {
coreP2PPortStatus: {
Expand Down

0 comments on commit 8ee9e4c

Please sign in to comment.