diff options
| author | Adam Soltys <[email protected]> | 2026-06-23 22:37:58 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-23 22:37:58 -0700 |
| commit | ca7d85e8603ad5ee6a31afbf56777cedfc3931b5 (patch) | |
| tree | 5311eaa3c6b6f95fc10bda5ae4e59297ce0fc9eb /src/app.js | |
| parent | 800fa6a0ce8da92a9142af62fee0657011fc45aa (diff) | |
| download | coinosv3-ca7d85e8603ad5ee6a31afbf56777cedfc3931b5.tar.gz coinosv3-ca7d85e8603ad5ee6a31afbf56777cedfc3931b5.zip | |
Allow signed-tx export when online; clarify it isn't sent
- Add a "Sign & export (broadcast elsewhere)" action on the online
review screen so you can sign here and broadcast from another device,
not just in offline mode.
- The signed-result screen now reads as an amber caution ("Signed, but
not sent yet… it will not send on its own") instead of a green
success banner, so it can't be mistaken for a completed send.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1079,7 +1079,12 @@ function reviewView() { : wallet.offline ? h('button', { class: 'btn-primary grow', onClick: signForExport }, t('signTx')) : h('button', { class: 'btn-primary grow', onClick: broadcast }, t('signBroadcast')) - ) + ), + // Online: also allow signing without broadcasting, to relay the signed tx + // from another device (air-gapped, or a different network). + !wallet.offline && !ui.busy + ? h('button', { class: 'btn-block', style: 'margin-top:8px', onClick: signForExport }, t('signExport')) + : null ); } @@ -1122,7 +1127,7 @@ function sendResultView() { return h( 'div', { class: 'card col' }, - h('div', { class: 'notice ok' }, t('txSignedNote')), + h('div', { class: 'warn-box' }, t('txSignedNote')), h('div', { class: 'small muted' }, t('transactionId')), h('div', { class: 'addr-box' }, r.txid), h('div', { class: 'small muted mt8' }, t('signedTxRaw')), |
