From 1bea1755c46d17fff9c6cea56e55691bf5cfa1b9 Mon Sep 17 00:00:00 2001 From: Age Manning Date: Sun, 25 Aug 2019 10:13:17 +1000 Subject: [PATCH] Remove redundant code --- beacon_node/eth2-libp2p/src/rpc/methods.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/beacon_node/eth2-libp2p/src/rpc/methods.rs b/beacon_node/eth2-libp2p/src/rpc/methods.rs index 8fef1a75a..d912bcfa1 100644 --- a/beacon_node/eth2-libp2p/src/rpc/methods.rs +++ b/beacon_node/eth2-libp2p/src/rpc/methods.rs @@ -89,17 +89,6 @@ pub struct BeaconBlocksRequest { 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, -} -*/ - /// Request a number of beacon block bodies from a peer. #[derive(Encode, Decode, Clone, Debug, PartialEq)] pub struct RecentBeaconBlocksRequest {