Skip to content

Commit

Permalink
Update Heartbeat.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominikkq committed Jun 21, 2023
1 parent ce072ef commit d6ec751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion federator/src/lib/Heartbeat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export class Heartbeat {
} else {
// Old heartbeat event (FederationV2)
const { sender, fedRskBlock, fedEthBlock, federatorVersion, nodeRskInfo, nodeEthInfo } = log.returnValues;
const sideChain = this.sideChains.find((x) => x.chainId == 1 || x.chainId == 42);
const sideChain = this.sideChains.find((x) => x.chainId);
this._trackHeartbeatMetrics(
sender,
federatorVersion,
Expand Down

0 comments on commit d6ec751

Please sign in to comment.