Ledger::Save is public, unused and overwrites the shared ledger #4
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Catcrafts/Crafter.Review#4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ledger::Savewrites this process's whole copy ofseat-ledger.jsonover the file. That is the last-writer-wins writeLedger::Updatereplaced on 2026-10-15, when one driver's save erased spend another had recorded. Nothing callsSave, at master or in 1.1.0, but it is still public, so a future caller would bring the lost update back.A fix removes it.
Found by the 1.1.0 push gates.