From 25e93f60fd0ebb15e1ce098eef1bfd395e380333 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Mon, 17 Jun 2019 10:01:23 -0400 Subject: [PATCH] Tidy comments --- beacon_node/eth2-libp2p/src/rpc/protocol.rs | 4 ---- .../src/per_block_processing/verify_transfer.rs | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/beacon_node/eth2-libp2p/src/rpc/protocol.rs b/beacon_node/eth2-libp2p/src/rpc/protocol.rs index de52f964e..2f461988a 100644 --- a/beacon_node/eth2-libp2p/src/rpc/protocol.rs +++ b/beacon_node/eth2-libp2p/src/rpc/protocol.rs @@ -130,10 +130,6 @@ struct SszContainer { bytes: Vec, } -// NOTE! -// -// This code has not been tested, it is a placeholder until we can update to the new libp2p -// spec. fn decode(packet: Vec) -> Result { let msg = SszContainer::from_ssz_bytes(&packet)?; diff --git a/eth2/state_processing/src/per_block_processing/verify_transfer.rs b/eth2/state_processing/src/per_block_processing/verify_transfer.rs index e99ed6a9a..e0b3d22e8 100644 --- a/eth2/state_processing/src/per_block_processing/verify_transfer.rs +++ b/eth2/state_processing/src/per_block_processing/verify_transfer.rs @@ -105,7 +105,7 @@ fn verify_transfer_parametric( // Ensure one of the following is met: // - // - Time independent checks are being ignored. + // - Time dependent checks are being ignored. // - The sender has not been activated. // - The sender is withdrawable at the state's epoch. // - The transfer will not reduce the sender below the max effective balance.