Remove redundant code

This commit is contained in:
Age Manning 2019-08-25 10:13:17 +10:00
parent 9cdcc7d198
commit 1bea1755c4
No known key found for this signature in database
GPG Key ID: 05EED64B79E06A93

View File

@ -89,17 +89,6 @@ pub struct BeaconBlocksRequest {
pub step: u64, pub step: u64,
} }
// TODO: Currently handle encoding/decoding of blocks in the message handler. Leave this struct
// here in case encoding/decoding of ssz requires an object.
/*
/// Response containing a number of beacon block roots from a peer.
#[derive(Encode, Decode, Clone, Debug, PartialEq)]
pub struct BeaconBlocksResponse {
/// List of requested blocks and associated slots.
pub beacon_blocks: Vec<u8>,
}
*/
/// Request a number of beacon block bodies from a peer. /// Request a number of beacon block bodies from a peer.
#[derive(Encode, Decode, Clone, Debug, PartialEq)] #[derive(Encode, Decode, Clone, Debug, PartialEq)]
pub struct RecentBeaconBlocksRequest { pub struct RecentBeaconBlocksRequest {