mirror of
https://github.com/thecyberlearn/quantum-ai-v2.git
synced 2026-08-18 16:32:58 +00:00
- Replace static template value with dynamic DOM-based balance reading - Use parseFloat(walletBalanceElement.textContent) for current balance - Ensures validation uses the actual displayed balance, not stale template value - Fixes false "insufficient balance" errors after successful transactions - Maintains consistency between display and validation logic - Prevents user confusion with inconsistent balance states This was a critical bug where users would see updated balance but still get insufficient balance errors due to static template rendering. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| detail.html | ||