mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-25 13:07:18 +00:00
Tidy comments
This commit is contained in:
parent
9cec5dc073
commit
25e93f60fd
@ -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)?;
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user