aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/gifts.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-14 21:58:33 -0700
committerAdam Soltys <[email protected]>2026-09-14 21:58:33 -0700
commita493b12aca18a670296f0f7142ad041b87ec1b69 (patch)
tree14f96895e33bfd085d4158317232404d6ef51087 /src/features/gifts.js
parent6307cc6b4881b9707911ff667fa91c1ffe59757c (diff)
downloadcoinosv3-a493b12aca18a670296f0f7142ad041b87ec1b69.tar.gz
coinosv3-a493b12aca18a670296f0f7142ad041b87ec1b69.zip
A gift locked from Savings shows under Savings, not Spending.
Every feature balance line landed on the Spending face, but a gift's locked reservation is on-chain money still sitting in Savings. Lines now say which side they belong to and draw on that card: gifts on Savings beside pending incoming, ark's Moving… on Spending as before. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'src/features/gifts.js')
-rw-r--r--src/features/gifts.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/features/gifts.js b/src/features/gifts.js
index 4f5225c..111303e 100644
--- a/src/features/gifts.js
+++ b/src/features/gifts.js
@@ -961,7 +961,8 @@ export function giftsFeature(ctx) {
},
balanceLines() {
const locked = wallet.giftLockedValue();
- return locked > 0 ? [{ label: t('lockedInGifts'), sat: locked }] : [];
+ // on-chain reservations: money still in Savings, spoken for
+ return locked > 0 ? [{ label: t('lockedInGifts'), sat: locked, side: 'savings' }] : [];
},
historyEntries(txs, sel) {
// These are ON-CHAIN gift reservations — Savings timeline. Ark gifts show