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.