diff options
| author | Adam Soltys <[email protected]> | 2026-09-27 15:07:31 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-27 15:07:31 -0700 |
| commit | 10b7a97a3ecfc2f8e084c81520c78942ac745ec5 (patch) | |
| tree | a8778b6d22a6bb6d4f750bcb221b455c187b0731 /src/features/ark.js | |
| parent | 31fea2d1e463424387828163bda9facc2fee8c0d (diff) | |
| download | coinosv3-10b7a97a3ecfc2f8e084c81520c78942ac745ec5.tar.gz coinosv3-10b7a97a3ecfc2f8e084c81520c78942ac745ec5.zip | |
Sending to a coinos.io name shows the person, not the ark address it became.
The recipient box keeps the name, with their face beside it and "Sent
instantly, no fee."; the review names them too. The ark1… the name resolved
to is plumbing, and read as gibberish to anyone new to this.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D
Diffstat (limited to 'src/features/ark.js')
| -rw-r--r-- | src/features/ark.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/features/ark.js b/src/features/ark.js index 2a47ef5..eae6b75 100644 --- a/src/features/ark.js +++ b/src/features/ark.js @@ -766,7 +766,9 @@ export function arkFeature(ctx) { { class: 'card col', style: 'gap:12px' }, h('h3', {}, t('arkSendTitle')), row(t('lnPayAmount'), fmtAmount(a.amountSat) + ' ' + unitLabel()), - row(t('arkPayTo'), shortAddr(a.address, 14)), + row(t('arkPayTo'), a.via + ? h('span', { class: 'row gap6', style: 'align-items:center' }, a.via.pk ? ctx.hook('avatarNode', a.via.pk) : null, a.via.name) + : shortAddr(a.address, 14)), row(t('networkFee'), t('arkNoFee')), ui.sendError ? h('div', { class: 'notice err' }, ui.sendError) : null, // An amount Spending can't cover isn't a dead end while Savings can: @@ -3446,7 +3448,8 @@ export function arkFeature(ctx) { // spend a different balance than the one selected. ui.sendError = t('arkPayFromSpending'); } else { - ui.arkSend = { address: dest, amountSat: sats }; + const via = s.recipients[0].via && s.recipients[0].via.ark === dest ? s.recipients[0].via : null; + ui.arkSend = { address: dest, amountSat: sats, via }; } render(); })(); |
