diff options
| author | Adam Soltys <[email protected]> | 2026-08-18 00:39:03 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-18 00:39:03 -0700 |
| commit | 0a19b26e1289f79de7b9e3ddd149617c894e6250 (patch) | |
| tree | af4d84d5cff0bb964cf511115177118d4bd03abb /src/features | |
| parent | 6f9be107783a02713a508437b100e008a7e043b1 (diff) | |
| download | coinosv3-0a19b26e1289f79de7b9e3ddd149617c894e6250.tar.gz coinosv3-0a19b26e1289f79de7b9e3ddd149617c894e6250.zip | |
The top-up prompt counts money already on its way: a board awaiting confirmation quiets both the card button and the wizard step
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JtaatFfAbx91Nh3xqKVqKz
Diffstat (limited to 'src/features')
| -rw-r--r-- | src/features/ark.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/features/ark.js b/src/features/ark.js index 8ca63bd..5641186 100644 --- a/src/features/ark.js +++ b/src/features/ark.js @@ -2269,6 +2269,13 @@ export function arkFeature(ctx) { if (!ui.arkMoveOpen || wallet.watchOnly || !arkAvailable()) return null; return movePanel(); }, + // Sats mid-board (the on-chain tx awaiting its confirmation) — Spending + // doesn't count them yet, but a top-up PROMPT must: nagging someone to + // top up again while their top-up confirms is noise. + spendingBoardingSat() { + const b = arkBalance(); + return b ? b.boardingSat || 0 : 0; + }, spendingSat() { const b = arkBalance(); return b ? b.spendableSat + b.pendingSat : 0; |
