Skip to content

Commit 929015b

Browse files
SoarinSkySagarArtiomTr
authored andcommitted
fmt
1 parent 855a9a4 commit 929015b

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

lean_client/networking/src/network/service.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1677,7 +1677,6 @@ where
16771677

16781678
if count == 0 || count > req_resp::MAX_REQUEST_BLOCKS as u64 {
16791679
info!(peer = %peer, start_slot, count, "Rejecting BlocksByRange: invalid count");
1680-
16811680
let response = LeanResponse::Error {
16821681
code: RESPONSE_INVALID_REQUEST,
16831682
message: "Invalid Block Request Count".to_string(),

lean_client/networking/src/req_resp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,4 +733,4 @@ pub fn build_blocks_by_root() -> ReqResp {
733733
/// Build a RequestResponse behavior for BlocksByRange protocol only
734734
pub fn build_blocks_by_range() -> ReqResp {
735735
build(vec![BLOCKS_BY_RANGE_PROTOCOL_V1.to_string()])
736-
}
736+
}

0 commit comments

Comments
 (0)