mindesbunister
0d6e95bbab
fix: Read TOTAL_WITHDRAWN from file instead of cached process.env
Bug: Second withdrawal showed $5.92 cumulative instead of $12.50
Root cause: process.env caches values at container startup, doesn't
update when .env file changes.
Fix: Parse TOTAL_WITHDRAWN directly from .env file content instead
of using cached process.env value.
Added: Debug logging showing calculation
Manual fix: Updated .env to $12.50 (sum of $6.58 + $5.92)
Result: Withdrawal stats now correctly show cumulative total.