Tidy comments

This commit is contained in:
Paul Hauner 2019-06-17 10:01:23 -04:00
parent 9cec5dc073
commit 25e93f60fd
No known key found for this signature in database
GPG Key ID: 303E4494BB28068C
2 changed files with 1 additions and 5 deletions

View File

@ -130,10 +130,6 @@ struct SszContainer {
bytes: Vec<u8>, bytes: Vec<u8>,
} }
// NOTE!
//
// This code has not been tested, it is a placeholder until we can update to the new libp2p
// spec.
fn decode(packet: Vec<u8>) -> Result<RPCEvent, DecodeError> { fn decode(packet: Vec<u8>) -> Result<RPCEvent, DecodeError> {
let msg = SszContainer::from_ssz_bytes(&packet)?; let msg = SszContainer::from_ssz_bytes(&packet)?;

View File

@ -105,7 +105,7 @@ fn verify_transfer_parametric<T: EthSpec>(
// Ensure one of the following is met: // 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 has not been activated.
// - The sender is withdrawable at the state's epoch. // - The sender is withdrawable at the state's epoch.
// - The transfer will not reduce the sender below the max effective balance. // - The transfer will not reduce the sender below the max effective balance.