Skip to content

Commit

Permalink
set context background
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiKaestle committed Aug 4, 2023
1 parent 5065845 commit ce78f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dao/deposit.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func DepositSync(ctx context.Context, i *models.DepositParam, token *vcapool.Acc
if result.Status != "confirmed" {
return nil, vcago.NewBadRequest("deposit", "deposit_confirmed_failure", nil)
}

ctx = context.Background()
go func() {
for _, unit := range result.DepositUnit {
event := new(models.EventUpdate)
Expand Down

0 comments on commit ce78f5b

Please sign in to comment.