Skip to content

Commit

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

Expand Down

0 comments on commit 7bae265

Please sign in to comment.