From 7bae265aa6d87814e45e64ec55bc4a0deb369404 Mon Sep 17 00:00:00 2001 From: Mikhail Wall Date: Thu, 27 Jun 2024 17:11:27 +0200 Subject: [PATCH] fix: changed ctx --- p2p/pkg/depositmanager/autodeposit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/pkg/depositmanager/autodeposit.go b/p2p/pkg/depositmanager/autodeposit.go index cd97a5732..275575f24 100644 --- a/p2p/pkg/depositmanager/autodeposit.go +++ b/p2p/pkg/depositmanager/autodeposit.go @@ -61,7 +61,7 @@ func (adt *AutoDepositTracker) DoAutoMoveToAnotherWindow(ctx context.Context, ad adt.deposits[ad.WindowNumber.Value] = true } - eg, egCtx := errgroup.WithContext(ctx) + eg, egCtx := errgroup.WithContext(context.Background()) egCtx, cancel := context.WithCancel(egCtx) adt.cancelFunc = cancel