修复 MarketMakerDepositConsumerService 读取 market_maker_configs.cash_balance 作为 balanceBefore 的 bug。该字段由中心化充值路径不维护,导致区块链充值 流水中 balanceBefore 始终为 0 或脱轨值。 改为与 deposit()/withdraw() 一致: - balanceBefore 从 trading_accounts 读取(权威数据源) - 删除对 market_maker_configs.cash_balance 的写操作 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| application | ||
| domain | ||
| infrastructure | ||
| shared | ||
| app.module.ts | ||
| main.ts | ||