bitkit icon indicating copy to clipboard operation
bitkit copied to clipboard

[Bug]: Restored wallet splits Boosted CPFP transactions into separate activities

Open catch-21 opened this issue 9 months ago • 4 comments

Describe the bug

When boosting a transaction, the existing activity is updated to reflect the change and combines the subtracted amounts. If the wallet is restored the transactions are displayed as separate activities. We should aim to keep the activity list constant after wallet restore.

Reproduce

  1. Send onchain funds using a fee rate that needs a boost
  2. Boost the transaction
  3. Observe the two transactions are combined in one activity
  4. Restore the wallet
  5. Observe the two transactions each now have their own activity

Screenshots / Recording

In the following example, the final transaction in the CPFP chain is d69eeb99e9a562e7b9a6a34abce3c77808e4e0f8a077058ee1558881ae209a2b

Before restore, two activities are shown for a chain of three transactions. The top one had a boost and so combines two CPFP transactions and the bottom is a single transaction:

Screenshot 2024-05-17 at 15 59 17

After restore there are three activities, one for each transaction in the CPFP chain:

Screenshot 2024-05-17 at 15 59 17

Operating system

Android 13 TKQ1.221114.001

Bitkit version

4980b42f4382c93137996ed30d7b68658a000786

Log output

No response

catch-21 avatar May 17 '24 15:05 catch-21