Run rustfmt --all

This commit is contained in:
Paul Hauner 2019-01-27 17:57:38 +11:00
parent fd47f6c433
commit 4f1aeb2c79
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
use beacon_chain::block_processing::{Error as ProcessingError, Outcome as ProcessingOutcome};
use beacon_chain::block_processing::Error as ProcessingError;
use beacon_chain::{block_production::Error as BlockProductionError, BeaconChain};
use block_producer::{
BeaconNode as BeaconBlockNode, BeaconNodeError as BeaconBlockNodeError, PublishOutcome,

View File

@ -15,18 +15,18 @@ pub enum ProduceError {
}
pub struct TestValidator {
block_producer: BlockProducer<
pub block_producer: BlockProducer<
TestingSlotClock,
BenchingBeaconNode<MemoryDB, TestingSlotClock>,
DirectDuties<MemoryDB, TestingSlotClock>,
TestSigner,
>,
spec: Arc<ChainSpec>,
epoch_map: Arc<DirectDuties<MemoryDB, TestingSlotClock>>,
keypair: Keypair,
beacon_node: Arc<BenchingBeaconNode<MemoryDB, TestingSlotClock>>,
slot_clock: Arc<TestingSlotClock>,
signer: Arc<TestSigner>,
pub spec: Arc<ChainSpec>,
pub epoch_map: Arc<DirectDuties<MemoryDB, TestingSlotClock>>,
pub keypair: Keypair,
pub beacon_node: Arc<BenchingBeaconNode<MemoryDB, TestingSlotClock>>,
pub slot_clock: Arc<TestingSlotClock>,
pub signer: Arc<TestSigner>,
}
impl TestValidator {