From e23726c0a1b02a1afb24f84e799dca881f821cbc Mon Sep 17 00:00:00 2001 From: Grant Wuerker Date: Tue, 9 Jul 2019 12:36:26 +0200 Subject: [PATCH] Renamed fork_choice::process_attestation_from_block --- beacon_node/beacon_chain/src/fork_choice.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_node/beacon_chain/src/fork_choice.rs b/beacon_node/beacon_chain/src/fork_choice.rs index c693145ea..cdda56386 100644 --- a/beacon_node/beacon_chain/src/fork_choice.rs +++ b/beacon_node/beacon_chain/src/fork_choice.rs @@ -112,7 +112,7 @@ impl ForkChoice { // // https://github.com/ethereum/eth2.0-specs/blob/v0.7.0/specs/core/0_fork-choice.md for attestation in &block.body.attestations { - self.process_attestation_from_block(state, attestation)?; + self.process_attestation(state, attestation)?; } self.backend.process_block(block, block_root)?; @@ -120,7 +120,7 @@ impl ForkChoice { Ok(()) } - fn process_attestation_from_block( + pub fn process_attestation( &self, state: &BeaconState, attestation: &Attestation,