crypto-com / chain-desktop-wallet

Crypto.com DeFi Desktop Wallet
https://crypto.com/defi-wallet
Other
363 stars 112 forks source link

Reward and Staking functions not working on MacOS #1221

Open simonjthomas opened 2 years ago

simonjthomas commented 2 years ago

Describe the bug Various buttons do not work, as in they visually respond to clicks but nothing happens. Most notably the "Restake All Rewards", "Withdraw All Rewards", "Restake Reward", "Withdraw Award" buttons in Staking Rewards. Clicking the "Delegate Funds" tab header causes a blank screen to be displayed with the only way to recover being quitting the app and restarting. Other buttons like "Undelegate Stake" and Redelegate Stake" do appear to work. Whilst I've not checked every function, the rest also appear to work, so the problem is largely isolated to the Staking Rewards section (like bug 1100, but that was on Linux). Using a Ledger wallet, with the Ledger firmware and app up to date and with Ledger connected and unlocked with the CRO app open. I've also tried reinstalling the desktop wallet, but it's not helped.

These functions have all worked in the past.

Environment and Version (please complete the following information):

To Reproduce Steps to reproduce the behavior:

  1. Open app and navigate to Staking once information has loaded.
  2. Click on 'Staking Rewards' to see available rewards
  3. Click on either "Withdraw All Rewards", "Restake All Rewards", "Withdraw Reward", "Restake Reward" to see the buttons visually respond, but nothing happens
  4. Click on "Delegate Funds" for a blank page to be displayed that cannot be navigated away from.

Expected behavior Those functions should work, as they have in the past.

Additional context Tried updating the app, reinstalling the app, updating the ledger firmware, updating the ledger app, and none have resolved the issue. These functions used to work, so it appears they've been broken by an update to either the app or MacOS.

crypto-matto commented 1 year ago

Hi @simonjthomas, I just double check with the latest v1.3.1 and the staking-related functions on Ledger are all working properly. Could you update us whether your issue exists in latest version? Thanks.

simonjthomas commented 1 year ago

I discovered that locking (by clicking the "Lock" button) and then unlocking the desktop app enables those features to work. Prior to locking an unlocking, the issue remained exactly as described.

Note that having now got those features to work, the app is reporting another issue when I'm trying to authorise a transaction, saying that the wallet address on the ledger doesn't match the one in the app even though it does. - I recreated the wallet which appears to have resolved this issue.