mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-13 11:52:45 +02:00
Bitcoin Core 28+ replies to a JSON-RPC 2.0 request with a strict 2.0 response: a success has a 'result' key but no 'error' key. The v1.11 code did 'if result["error"] is not None' and crashed with KeyError: 'error'. The getters are already guarded on dev with 'if "error" in result and ...'; add regression tests for get_network_info / get_blockchain_info so that guard can't be dropped again (verified they fail against the old unguarded form). Fixes #277 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| models | ||
| routers | ||
| __init__.py | ||
| test_app_manage_lock.py | ||
| test_apps_uninstall_keep_data.py | ||
| test_bitcoin_rpc_success.py | ||
| test_bitcoin_rpc_warmup.py | ||
| test_change_password.py | ||
| test_channel_cleanup.py | ||
| test_cln_list_all_tx.py | ||
| test_cln_shell_safety.py | ||
| test_electrs_advanced_status.py | ||
| test_exec_bash_timeout.py | ||
| test_jwt.py | ||
| test_native_python_errors.py | ||
| test_send_coins_input.py | ||
| test_sse_manager.py | ||
| test_warmup_events.py | ||
| utils.py | ||