From af2d3b07247e1896ae5d4deb080ac0e993301d98 Mon Sep 17 00:00:00 2001 From: Lazar Date: Mon, 6 Jan 2025 12:17:57 +0100 Subject: [PATCH] nitfix --- reporter/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporter/utils.go b/reporter/utils.go index 1fb6d3d..94ff4e5 100644 --- a/reporter/utils.go +++ b/reporter/utils.go @@ -37,7 +37,7 @@ func (r *Reporter) getHeaderMsgsToSubmit(signer string, ibs []*types.IndexedBloc err = retrywrap.Do(func() error { res, err = r.babylonClient.ContainsBTCBlock(&blockHash) - return fmt.Errorf("error in contains block: %w", err) + return err }, retry.Delay(r.retrySleepTime), retry.MaxDelay(r.maxRetrySleepTime),