From 1f73b01a83ecf41c96b7e37322e534e006de0e96 Mon Sep 17 00:00:00 2001 From: Mikhail Wall Date: Thu, 27 Jun 2024 16:05:02 +0200 Subject: [PATCH] fix: changed context --- p2p/pkg/rpc/bidder/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/pkg/rpc/bidder/service.go b/p2p/pkg/rpc/bidder/service.go index 9158c99b6..3a59463f4 100644 --- a/p2p/pkg/rpc/bidder/service.go +++ b/p2p/pkg/rpc/bidder/service.go @@ -431,7 +431,7 @@ func (s *Service) CancelAndWithdrawAutoDeposit( if err != nil { return nil, status.Errorf(codes.FailedPrecondition, "cancel auto deposit: %v", err) } - err = s.autoDepositTracker.WithdrawAutoDeposit(ctx, cancelResponse.WindowNumbers) + err = s.autoDepositTracker.WithdrawAutoDeposit(context.Background(), cancelResponse.WindowNumbers) if err != nil { return nil, status.Errorf(codes.Internal, "withdrawal: %v", err) }