Send review labels the package fee target as the transaction's fee rate #1097

Open
opened 2026-11-10 12:40:33 +00:00 by jarolrod · 0 comments
jarolrod commented 2026-11-10 12:40:33 +00:00 (Migrated from github.com)

When a payment spends an unconfirmed output, its fee can include an additional contribution to bring the parent and child transactions together up to the selected fee rate. In the two-recipient Use maximum path, Review labels that package target Fee rate, without distinguishing it from the new transaction's own rate or explaining the contribution for the parent.

To reproduce:

  1. Fund a regtest wallet with an unconfirmed output. My fixture was a 49.9994 BTC output from a 52,125-vB parent paying 60,000 sats in fees.
  2. Manually select that output for a payment with two recipients: 1 BTC to the first, and Use maximum for the second.
  3. Select a custom rate of 25 sat/vB and open Review, accepting the maximum-payment warning.
  4. Export the PSBT and sign/finalize it to inspect the transaction's fee and virtual size.
  5. Confirm only the parent, then repeat the same payment setup.

With the parent unconfirmed, Review showed Fee rate: 25 sat/vB and Total fees: 1,246,650 sats. The resulting transaction was 141 vB, giving an actual transaction fee rate of 8,841.49 sat/vB. The parent and child together paid exactly 25 sat/vB.

After the parent confirmed, the same payment setup produced a 141-vB transaction paying 3,525 sats, or 25 sat/vB. Review still displayed 25 sat/vB. The 1,243,125-sat difference exactly matched the parent's fee shortfall.

Core's fee calculation is correct, and the total fee and recipient amounts are visible and accurate. The presentation problem is in QML: Review displays the selected target beside the actual fee without identifying what that rate describes.

Review should distinguish the requested/package target from the new transaction's actual rate and explain the additional fee contributed for unconfirmed parents.

Reproduced on merged qt6 at eed1f426fcb64daa61b004590335a03afe376274, macOS / Qt 6.9, using the full app's offscreen platform and isolated regtest wallets. Neither child transaction was broadcast.

When a payment spends an unconfirmed output, its fee can include an additional contribution to bring the parent and child transactions together up to the selected fee rate. In the two-recipient **Use maximum** path, Review labels that package target **Fee rate**, without distinguishing it from the new transaction's own rate or explaining the contribution for the parent. To reproduce: 1. Fund a regtest wallet with an unconfirmed output. My fixture was a 49.9994 BTC output from a 52,125-vB parent paying 60,000 sats in fees. 2. Manually select that output for a payment with two recipients: 1 BTC to the first, and **Use maximum** for the second. 3. Select a custom rate of **25 sat/vB** and open Review, accepting the maximum-payment warning. 4. Export the PSBT and sign/finalize it to inspect the transaction's fee and virtual size. 5. Confirm only the parent, then repeat the same payment setup. With the parent unconfirmed, Review showed **Fee rate: 25 sat/vB** and **Total fees: 1,246,650 sats**. The resulting transaction was **141 vB**, giving an actual transaction fee rate of **8,841.49 sat/vB**. The parent and child together paid exactly **25 sat/vB**. After the parent confirmed, the same payment setup produced a 141-vB transaction paying **3,525 sats**, or **25 sat/vB**. Review still displayed 25 sat/vB. The 1,243,125-sat difference exactly matched the parent's fee shortfall. Core's fee calculation is correct, and the total fee and recipient amounts are visible and accurate. The presentation problem is in QML: Review displays the selected target beside the actual fee without identifying what that rate describes. Review should distinguish the requested/package target from the new transaction's actual rate and explain the additional fee contributed for unconfirmed parents. Reproduced on merged `qt6` at `eed1f426fcb64daa61b004590335a03afe376274`, macOS / Qt 6.9, using the full app's offscreen platform and isolated regtest wallets. Neither child transaction was broadcast.
Sign in to join this conversation.
No description provided.