chore(interop): update u5c spec to v0.8.0 (#493)

This commit is contained in:
Santiago Carmuega 2024-07-28 19:48:43 -03:00 committed by GitHub
parent ad1a5e3c2e
commit 46dff24c3e
4 changed files with 1318 additions and 468 deletions

View file

@ -176,7 +176,7 @@ impl Server {
/// # Arguments
///
/// * `blocks` - Ordered list of block bodies corresponding to the client's
/// requested range.
/// requested range.
pub async fn send_block_range(&mut self, blocks: Vec<Body>) -> Result<(), ServerError> {
if blocks.is_empty() {
self.send_no_blocks().await