mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-07 04:50:57 +08:00
The outer retry loop in client.go re-initiates the entire x402 payment flow on each attempt, causing duplicate USDC charges. The inner x402 retry loop (5 attempts with re-signing) already handles all retryable scenarios. Set MaxRetries=1 for Claw402, BlockRunBase, and BlockRunSol to ensure only one payment per AI decision.