Skip to content

Commit

Permalink
verificationhelper: Add missing verification txns unlock
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Dec 2, 2024
1 parent 6032adb commit 166ba04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/verificationhelper/verificationhelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ func (vh *VerificationHelper) Init(ctx context.Context) error {
txn, err := vh.store.GetVerificationTransaction(ctx, transactionID)
if err != nil && errors.Is(err, ErrUnknownVerificationTransaction) {
log.Err(err).Msg("failed to get verification transaction")
vh.activeTransactionsLock.Unlock()
return
} else if errors.Is(err, ErrUnknownVerificationTransaction) {
// If it's a cancellation event for an unknown transaction, we
Expand Down

0 comments on commit 166ba04

Please sign in to comment.