feat(jsonrpc): keep old err_msg when block range is invalid by waynercheung · Pull Request #6239 · tronprotocol/java-tron

What does this PR do?
Keep using old version err_msg when block range is invalid(from > to) for eth_getLogs

Why are these changes required?
To maintain compatibility for legacy users, the original error messages in existing scenarios will remain unchanged.

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details