BirthdayResearch / defichain-app

DeFi Blockchain desktop app for Windows, Linux and Mac.
https://defichain.com
MIT License
158 stars 57 forks source link

Not able to see the amount of UTXO in the MAC OS desktop app. Amount displayed wrongly compared to the explorer #1227

Closed pmjlaw closed 1 year ago

pmjlaw commented 1 year ago

Actual behavior: I was sending X amount of DFI from my Desktop App to Kucoin, however the X DFIs apparently got stuck in UTXO for some reason, in explorer I can still see the same amount I was sending assigned to me account under the UTXO section but in the app it is not showing it.

Expected behavior: The DFIs are sent as usual without any issue.

How to reproduce it (as minimally and precisely as possible): Went to my MAC OS Desktop DFI Chain app, clicked send arrow, confirmed the amount, selected the address TO and confirmed the transfer.

What are your environment parameters?

Anything else we need to know?

Archive 2.zip

github-actions[bot] commented 1 year ago

@pmjlaw: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

In the meantime, you can:

  1. Checkout DeFiChain’s Github issue page to see if your issue has already been reported
  2. Submit any logs if you have them, this will greatly expedite the process for us.
  3. You can also join our Telegram or Reddit community channels.
Details I am a bot created to help the [DeFiCh](https://github.com/DeFiCh) developers manage community feedback and contributions. You can check out my [manifest file](https://github.com/DeFiCh/app/blob/main/.github/governance.yml) to understand my behavior and what I can do. If you want to use this for your project, you can check out the [DeFiCh/oss-governance-bot](https://github.com/DeFiCh/oss-governance-bot) repository.
pmjlaw commented 1 year ago

Thanks guys, I appreciate your help, also when I am trying to check the transaction in the app it takes ages, it shows the list is loading but there is nothing coming...

pmjlaw commented 1 year ago

Quick update, in Transactions it does show the Transaction - Account to UTXOs and the correct amount but it is not appearing in the app pls see below. Screenshot 2022-11-09 at 15 22 26

pmjlaw commented 1 year ago

DeFi Wallet v2.21.0 Node v2.11.1 getbalance 0.26342355 getbalance 0.26342355 listaccounts {} false false true [ { "key": "a914d0a766a666......ff87@0", "owner": "dYSYhu3i", "amount": "54.33556867@DFI" }, { "key": "a914d0a7.....caeff87@2", "owner": "dYSYhu3i", "amount": "0.00008606@BTC" }, { "key": "a914d0a766a666c....6a97caeff87@5", "owner": "dYSYhu3i", "amount": "1160.78806402@BTC-DFI" }

pmjlaw commented 1 year ago

the question is where is this UTXO and why the DFIs are sent to UTXO and not to the KuCoin account

pmjlaw commented 1 year ago

Screenshot 2022-11-09 at 15 57 43 Hope this helps, appreciate your kind support!

pmjlaw commented 1 year ago

In parallel I have also opened a support ticket with KuCoin, maybe the issue is on their end, however it looks more like the DFIs got sent to my UTXO but why then the desktop application does not show them..

pmjlaw commented 1 year ago

Just for your info, I was able to successfully send DFI from the app to my KuCoin DFI account (deposit), however no traces of my UTXOs/aka my previous transaction but in the explorer it shows that I do have that amount

pmjlaw commented 1 year ago

Screenshot 2022-11-09 at 22 50 30

izzycsy commented 1 year ago

Hi @pmjlaw , if I understand correctly, you sent DFI from app to KuCoin, but the transaction does not display on Transactions tab? or do you mean on the Balances tab, it does not display the correct remaining amount?

pmjlaw commented 1 year ago

Hi @izzycsy, I sent 2385 DFI from app to KuCoin, but this amount has not arrived to my KuCoin Deposit account, and from what I see in app, there was only the transaction from Account to UTXOs, pls see screenshot, but no Sent Transaction.

Now, in my app I do not see the UTXO with this amount, although in explorer it does show that I still have UTXO Balance 2385.12389499 DFI

izzycsy commented 1 year ago

Hi @pmjlaw , could you send the txid? It'll help with the investigation.

pmjlaw commented 1 year ago

sure, 8a58de8b7fdf181df3ab68bd474b57c74646cb64dde01afdd4b0e8a44211eb1a

izzycsy commented 1 year ago

Thanks, can you provide the output of

getbalance

listaccounts {} false false true

again please. You may XXX your key, owner, etc. as you did in this comment

pmjlaw commented 1 year ago

sure, sorry for the delay had to restart the app

pmjlaw commented 1 year ago

DeFi Wallet v2.21.0 Node v2.11.1 getbalance 0.67892428 listaccounts {} false false true [ { "key": "a914d0a766a....97caeff87@0", "owner": "dYSYhu3i....Jaz8x", "amount": "81.34892445@DFI" }, { "key": "a914d0a766a6.....caeff87@2", "owner": "dYSYhu3i....Jaz8x", "amount": "0.00023243@BTC" }, { "key": "a914d0....caeff87@5", "owner": "dYSYhu....Jaz8x", "amount": "1160.78806402@BTC-DFI" } ]

izzycsy commented 1 year ago

Thanks. I think you might just have to wait for your DFI to reflect on your KuCoin, delays may occur due to congestion in the block chain. Ku Coin's 3. FAQ. There's no in-between state in DeFiChain Network, either your tx gets through / gets rejected and goes back to your app.

Just a suggestion, if you're not running a masternode, you could use the DeFiChain Light Wallet, available on iOS / Android. Saves you the trouble of running a full node / cli.

pmjlaw commented 1 year ago

thanks @izzycsy I would of course wait and monitor the situation, but what worries me is that there was no SENT Transaction from my app with this amount as it usually happens and why in explorer those UTXOs still sit with my DeFI App account? Nevertheless thanks a lot, I am of course also contacting KuCoin and hope for the quick resolution

pmjlaw commented 1 year ago

When I check in Explorer I do not see any OUT Transaction with that amount (2385.08330890 DFI), there is only IN Screenshot 2022-11-10 at 06 23 06

izzycsy commented 1 year ago

Hi @pmjlaw , another possibility is that might be the amount was converted to UTXO and not sent. In your screenshots, your app is not synced to 100% as well. Can you try reindex, guide here. After syncing to 100%, take a screenshot of your Balances and outputs of getbalance, listaccounts {} false false true.

pmjlaw commented 1 year ago

Screenshot 2022-11-10 at 06 34 14

pmjlaw commented 1 year ago

it is synchronized now getbalance 0.67892428 listaccounts {} false false true [ { "key": "a914d0a76.....caeff87@0", "owner": "dYSYhu3i.....Jaz8x", "amount": "88.46593402@DFI" }, { "key": "a914d0a766.....caeff87@2", "owner": "dYSYhu3i....Jaz8x", "amount": "0.00024010@BTC" }, { "key": "a914d0a7....caeff87@5", "owner": "dYSYhu3i....Jaz8x", "amount": "1160.78806402@BTC-DFI" } ]

izzycsy commented 1 year ago

Hi @pmjlaw , did you reindex?

pmjlaw commented 1 year ago

not yet, let me do that, would update once done, thanks!

izzycsy commented 1 year ago

@pmjlaw use snapshot, it's faster.

pmjlaw commented 1 year ago

yes, let me do that now, in fact I have already tried this even before after this situation happened, but just to be sure doing this now again.

pmjlaw commented 1 year ago

Issue closed by reindexing