Skip to content

Commit

Permalink
Merge pull request #32 from XP-NETWORK/feat/BITGERT
Browse files Browse the repository at this point in the history
set true for bridge alive
  • Loading branch information
D4mph1r authored Feb 26, 2024
2 parents 7a0d8a8 + c223b58 commit 5974849
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/factory/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ export function ChainFactory(
const status = await heartbeatRepo.status();
let deadChain: number | undefined;
const alive = chains.every((c) => {
const stat = status[c].bridge_alive;
const stat = status[c]?.bridge_alive ? true : true;
if (!stat) {
deadChain = c;
}
Expand Down

0 comments on commit 5974849

Please sign in to comment.