diff options
| author | Adam Soltys <[email protected]> | 2026-08-30 19:56:05 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-30 19:56:05 -0700 |
| commit | 470a37ca9cddc6ef03e06c873f59c4ffc699de48 (patch) | |
| tree | 966134532ef9c280ea02eea15b139c3df67134ea /src/features/names.js | |
| parent | 698b6b5431d31a54ddf30c234f95a92bf5c8bf0d (diff) | |
| download | coinosv3-470a37ca9cddc6ef03e06c873f59c4ffc699de48.tar.gz coinosv3-470a37ca9cddc6ef03e06c873f59c4ffc699de48.zip | |
Pasting your own coinos name (or ark address) opens the boarding panel at paste time, not at review: the names resolver asks the ark feature before filling the send form, a raw address paste runs the same check, and the review path still carries a typed amount into the panel — one boardOwnAddress helper serves all three doors
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MrkLsNScXe9b6BviUSdmMr
Diffstat (limited to 'src/features/names.js')
| -rw-r--r-- | src/features/names.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/features/names.js b/src/features/names.js index d8d3dd9..ac54079 100644 --- a/src/features/names.js +++ b/src/features/names.js @@ -320,6 +320,10 @@ export function namesFeature(ctx) { const dec = parseBip21(uri); const ark = dec?.params?.ark; if (ark && isArkAddress(ark) && hook('arkReady')) { + // Your own name is a top-up, not a payment: the ark feature routes + // it straight to the board panel instead of filling a send form + // whose review would only send it back there. + if (await Promise.resolve(hook('arkBoardIfOwn', ark)).catch(() => false)) return; ui.send.recipients[0].address = ark; render(); return; |
