Skip to content

Commit

Permalink
fix: changed context
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikelle committed Jun 27, 2024
1 parent e7f498d commit 1f73b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/pkg/rpc/bidder/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 1f73b01

Please sign in to comment.