Skip to content

Commit

Permalink
Fix source (#380)
Browse files Browse the repository at this point in the history
  • Loading branch information
pablomendezroyo authored Oct 2, 2024
1 parent 5a6b202 commit 3d8d66d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
build:
context: .
dockerfile: Dockerfile.brain.dev
container_name: brain
container_name: DAppNodePackage-brain.web3signer-holesky.dnp.dappnode.eth
volumes:
- .:/app
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async function sendWarningNotificationNotThrow({
([_, blockStatus]) => blockStatus === "Missed"
);
const validatorsMissedAttestations = validatorAttestationsRewards.totalRewards
.filter((validator) => parseInt(validator.source) === 0)
.filter((validator) => parseInt(validator.source) <= 0)
.map((validator) => validator.validator_index);

if (validatorsMissedBlocks.length === 0 && validatorsMissedAttestations.length === 0) return;
Expand Down

0 comments on commit 3d8d66d

Please sign in to comment.