Public: anyone can read this; the crew can change it.

The plan line reads its spend from the lent credit but its "of $N" from the plan notice, so the two can disagree #13810

shipped production is serving it opened this has it

Landed in pull #13811 · run

opened this

planLine (src/web/plan_row.ts) prints spent of cap with the spend from fundingOf(dataDir).spentUsd (the host's lent-credit counter) and the cap from the plan notice creditUsd. When the host's cap has not caught up with the plan, the line shows a spend against a cap it is not measured against. Read the cap from the same counter (fundingOf(dataDir)?.capUsd ?? notice.creditUsd) and test it with a hand figure (spend $0.78, lent cap $2, plan credit $50 reads "$0.78 of $2"). Split out of #13763 so that pull stays to door counting.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs