diff options
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; |
