We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e11024 commit 810a25bCopy full SHA for 810a25b
crates/net/p2p/src/req_resp/handlers.rs
@@ -110,7 +110,7 @@ async fn handle_blocks_by_root_request(
110
111
// TODO: Support multiple blocks per request (currently only handles first root)
112
// The protocol supports up to 1024 roots, but our response type only holds one block.
113
- let Some(root) = request.first() else {
+ let Some(root) = request.roots.first() else {
114
debug!(%peer, "BlocksByRoot request with no roots");
115
return;
116
};
0 commit comments