Fix BlocksByRootRequest min/max bounds calculation (#1312)

This commit is contained in:
Pawan Dhananjay
2020-06-29 16:33:14 +05:30
committed by GitHub
parent 2ccb9f48da
commit d4dd9fae07
2 changed files with 5 additions and 7 deletions

View File

@@ -188,7 +188,7 @@ pub struct BlocksByRangeRequest {
}
/// Request a number of beacon block bodies from a peer.
#[derive(Encode, Decode, Clone, Debug, PartialEq)]
#[derive(Clone, Debug, PartialEq)]
pub struct BlocksByRootRequest {
/// The list of beacon block bodies being requested.
pub block_roots: VariableList<Hash256, MaxRequestBlocks>,