From 166ba04aae02405c8517ec7488aaa7c2344e06c2 Mon Sep 17 00:00:00 2001 From: Nick Mills-Barrett Date: Mon, 2 Dec 2024 13:00:12 +0000 Subject: [PATCH] verificationhelper: Add missing verification txns unlock --- crypto/verificationhelper/verificationhelper.go | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/verificationhelper/verificationhelper.go b/crypto/verificationhelper/verificationhelper.go index 33d69cd2..1a896b1d 100644 --- a/crypto/verificationhelper/verificationhelper.go +++ b/crypto/verificationhelper/verificationhelper.go @@ -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