Skip to content

Commit

Permalink
Fix stuck when restart unity editor
Browse files Browse the repository at this point in the history
  • Loading branch information
fraidev committed Aug 1, 2023
1 parent 0fb40ac commit fe96123
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Runtime/Scripts/Tezos/Wallet/WalletProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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...
Expand Down

0 comments on commit fe96123

Please sign in to comment.