• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Chia-Network / chia-blockchain / 27265959677

10 Jun 2026 09:12AM UTC coverage: 91.498% (-0.02%) from 91.514%
27265959677

push

github

web-flow
full_node: explicit None check in short_sync_batch instead of naked assert (#20991)

full_node: return False instead of asserting on disconnected first block in short_sync_batch

Replace `assert prev_b is not None` in short_sync_batch with an explicit None check that
returns False, matching the documented fallback-to-long-sync behavior and mirroring the
explicit check already used in add_block.

10885 of 12090 branches covered (90.03%)

Branch coverage included in aggregate %.

21 of 21 new or added lines in 2 files covered. (100.0%)

275 existing lines in 15 files now uncovered.

112347 of 122593 relevant lines covered (91.64%)

1.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

88.56
/chia/full_node/full_node_api.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc