aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-24 20:28:12 -0700
committerAdam Soltys <[email protected]>2026-06-24 20:28:12 -0700
commit08d1753e8433fcae6e9068e87cff93813f0ed76d (patch)
tree82e36ab3181c80d48217bb79a03940813e84b47d /src/i18n.js
parentaeb6a68e15b04ff35c8154a8f219dcca0a07de0e (diff)
downloadcoinosv3-08d1753e8433fcae6e9068e87cff93813f0ed76d.tar.gz
coinosv3-08d1753e8433fcae6e9068e87cff93813f0ed76d.zip
Gift links: stop pre-reserving fee, show it at claim time
Previously createGift reserved a claim-fee headroom on top of the entered amount based on the fee rate at creation. Because the fee was only actually charged at claim time, fee-rate drift between the two moments silently ate into (or padded) the recipient's amount. Now the entered amount is exactly the recipient's full received total (sum of inputs less our change); no fee is reserved. The claim screen shows that full total as the headline and surfaces the live network-fee estimate on the Claim button, where it's deducted from the recipient's balance at claim time. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i18n.js b/src/i18n.js
index e427733..42fd34b 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -206,6 +206,7 @@ const STR = {
copyLink: 'Copy link',
claimBody: 'Claim it into a brand-new wallet that only you control.',
claimBtn: 'Claim it',
+ claimFeeNote: '~{n} fee',
claimFailed: 'This gift has already been claimed or is no longer available.',
claimedTitle: 'Claimed!',
claimedBody: 'Your Bitcoin is on its way. Back up your recovery phrase to keep it safe.',