             }
         }
         updateAssetBundles()
-        if !hasPerformedWalletDependentInitialization && walletManager != nil {
-            didInitWallet()
-        }
+        if !hasPerformedWalletDependentInitialization && didInitWallet {
+            didInitWalletManager()
+        }
+
     }
 
     private func setup() {

    private var fetchCompletionHandler: ((UIBackgroundFetchResult) -> Void)?
    private var launchURL: URL?
    private var hasPerformedWalletDependentInitialization = false

    init() {
        transitionDelegate = ModalTransitionDelegate(type: .transactionDetail, store: store)

        }
    }

    private func didInitWalletManager() {
        guard let walletManager = walletManager else { assert(false, "WalletManager should exist!"); return }
        guard let rootViewController = window.rootViewController else { return }
        hasPerformedWalletDependentInitialization = true
