         }
         
         transaction.cancel(with: MXTransactionCancelCode.user())
+        self.removePendingQRCodeTransaction()
     }
     
     private func update(viewState: KeyVerificationVerifyByScanningViewState) {

            return
        }
        
        self.update(viewState: .loading)
        self.coordinatorDelegate?.keyVerificationVerifyByScanningViewModel(self, qrCodeDidScannedByOtherWithTransaction: qrCodeTransaction)
    }
    

    private func cancel() {
        self.cancelQRCodeTransaction()
        self.keyVerificationRequest.cancel(with: MXTransactionCancelCode.user(), success: nil, failure: nil)
        self.unregisterTransactionDidStateChangeNotification()
        self.coordinatorDelegate?.keyVerificationVerifyByScanningViewModelDidCancel(self)
    }
    
