From fe96123d7d4a569c417c4d670f538b6ec36398d0 Mon Sep 17 00:00:00 2001 From: Felipe Cardozo Date: Tue, 1 Aug 2023 19:26:47 -0300 Subject: [PATCH] Fix stuck when restart unity editor --- Runtime/Scripts/Tezos/Wallet/WalletProvider.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Runtime/Scripts/Tezos/Wallet/WalletProvider.cs b/Runtime/Scripts/Tezos/Wallet/WalletProvider.cs index 68b3592a..56a82a0d 100644 --- a/Runtime/Scripts/Tezos/Wallet/WalletProvider.cs +++ b/Runtime/Scripts/Tezos/Wallet/WalletProvider.cs @@ -76,13 +76,6 @@ private void InitBeaconConnector() // we should rewrite the Beacon connector to be coroutine compatible. private IEnumerator OnOpenWallet(bool withRedirectToWallet) { - var address = _beaconConnector.GetActiveAccountAddress(); - if (!string.IsNullOrEmpty(address)) - { - // Active address, let's disconnect it - _beaconConnector.DisconnectAccount(); - yield return new WaitForSeconds(2.5f); - } if (string.IsNullOrEmpty(_handshake)) { //No handshake, Waiting for handshake...