mirror of
https://github.com/laoxong/nofx.git
synced 2026-06-04 01:48:22 +08:00
851f152c50
Some RPC implementations return explicit "error": null on success. json.RawMessage deserializes this as the 4-byte literal "null", so len() > 0 was true, causing every balance query to fail with "rpc error: null". Skip the null literal to avoid false positives. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>