From 4a340052e71e80dfcc984809245fb408163763a8 Mon Sep 17 00:00:00 2001 From: Augustus <14297860+augustbleeds@users.noreply.github.com> Date: Mon, 1 Jul 2024 12:42:23 -0400 Subject: [PATCH] remove error (#479) --- monitoring/pkg/monitoring/source_envelope.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/monitoring/pkg/monitoring/source_envelope.go b/monitoring/pkg/monitoring/source_envelope.go index e44c27ea..96967227 100644 --- a/monitoring/pkg/monitoring/source_envelope.go +++ b/monitoring/pkg/monitoring/source_envelope.go @@ -179,8 +179,5 @@ func (s *envelopeSource) fetchLinkBalance(ctx context.Context, linkTokenAddress, return nil, fmt.Errorf("insufficient data from balance_of '%v': %w", results, err) } linkBalance := results[0].BigInt(big.NewInt(0)) - if linkBalance.Cmp(zeroBigInt) == 0 { - return nil, fmt.Errorf("contract's LINK balance should not be zero") - } return linkBalance, nil }