Skip to content

Transactions show as received instead of sent when Private spend key is missingΒ #3100

@nthpyrodev

Description

@nthpyrodev

I setup Cupcake on an old phone I had, which I linked the Cakewallet on my second phone. When a transaction was sent, using the second phone, it incorrectly displayed the transaction as received rather than sent. This also showed as such in the total balance. (Briefly made me think I had doubled my XMR πŸ˜…)
I noticed that the transaction had a TX key of 0100000000000000000000000000000000000000000000000000000000000000
The transaction eventually showed itself as sent (within the same day) which was probably unrelated rescanning the blockchain multiple times.
I have sent more transactions to be sure, which all show correctly on the mobile Cakewallet, though with the invalid tx key I showed above.

I restored the wallet from the keys that the cakewallet on the phone had, which are the public spend key, public view key, private view key, and I also entered the primary wallet address. This currently has the same issue as the mobile wallet had where the sent transactions display as received on there, also adding to the total balance. Note that the sent (but displaying as received) transactions on the desktop wallet have no TX key.

After writing this issue, I rescanned the blockchain, and I noticed that both the mobile and desktop wallet now show a new received transaction of a bit under 2 XMR. After restoring in Feather, I can see that that was a smaller transaction I sent of around 0.001 XMR, again with the mobile wallet showing it with the tx key above, and the desktop wallet showing it with no tx key. So Cake is still showing sent transactions as received, and showing an incorrect amount sent/received.

I apologize if this issue is a bit confusing to follow, I'm not great at writing, but let me know if you'd like me to clarify anything.

Edit: Some (not all) previous transactions are back to showing as received rather than sent in the mobile wallet...

Platform:

  • Mobile OS: Android 16 (Graphene OS)
  • Mobile Device: Google Pixel 8 Pro
  • Mobile Cake Wallet Version: 6.0.1
  • Desktop Cake Wallet Version: 5.6.1 (Installed using flatpak file)

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions