mirror of
https://github.com/pezkuwichain/pezkuwi-telegram-miniapp.git
synced 2026-11-01 16:31:09 +00:00
Both TRC20 deposit functions sent `TRON-PRO-API-KEY: ''` when the key was unset, and check-deposits returned silently on any non-2xx TronGrid response, so a 401 or 429 skipped a user's deposits with nothing in the logs. - send the key header only when TRONGRID_API_KEY is set; warn once if not - check-deposits logs the status and deposit index on a failed call - process-deposits records the TronGrid status in results.trc20.errors - type the batch item in check-deposits (deno check TS7006, pre-existing)