From 221f5edbdd1c012541a1c277ca8cb8fae1d71692 Mon Sep 17 00:00:00 2001 From: Simon McLoughlin Date: Fri, 15 Dec 2023 20:33:05 +0000 Subject: [PATCH] - if WC2 request hits an unrecoverable error, complete the request queue item to prevent hanging --- .../Modules/ConnectedApps/WalletConnectPairViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Kukai Mobile/Modules/ConnectedApps/WalletConnectPairViewController.swift b/Kukai Mobile/Modules/ConnectedApps/WalletConnectPairViewController.swift index d196eb2c..cdf38282 100644 --- a/Kukai Mobile/Modules/ConnectedApps/WalletConnectPairViewController.swift +++ b/Kukai Mobile/Modules/ConnectedApps/WalletConnectPairViewController.swift @@ -71,6 +71,7 @@ class WalletConnectPairViewController: UIViewController, BottomSheetCustomFixedP private func unrecoverableError() { self.hideLoadingModal(completion: { [weak self] in TransactionService.shared.resetWalletConnectState() + WalletConnectService.shared.requestDidComplete = false self?.windowError(withTitle: "error".localized(), description: "error-wc2-unrecoverable".localized()) self?.presentingViewController?.dismiss(animated: true) })