Checking if the an attestation contains a latest message

This commit is contained in:
Grant Wuerker
2019-07-23 20:50:18 +02:00
parent 3b8a584c55
commit b2471eca49
4 changed files with 31 additions and 16 deletions

View File

@@ -45,5 +45,5 @@ pub trait LmdGhost<S: Store, E: EthSpec>: Send + Sync {
) -> Result<()>;
/// Returns the latest message for a given validator index.
fn latest_message(&mut self, validator_index: usize) -> Option<(Hash256, Slot)>;
fn latest_message(&self, validator_index: usize) -> Option<(Hash256, Slot)>;
}