Fix compile error, minor nits

This commit is contained in:
Paul Hauner
2019-11-24 12:39:41 +11:00
parent 24dc9482a9
commit 6bf73e2b55
4 changed files with 2 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ extern crate network as client_network;
mod beacon;
pub mod config;
mod error;
pub mod helpers;
mod helpers;
mod metrics;
mod network;
mod node;

View File

@@ -162,7 +162,7 @@ fn run<E: EthSpec>(
{
let runtime_context = environment.core_context();
let validator = environment
let mut validator = environment
.runtime()
.block_on(ProductionValidatorClient::new_from_cli(
runtime_context,

View File

@@ -9,6 +9,5 @@ web3 = "0.8.0"
tokio = "0.1.17"
futures = "0.1.25"
types = { path = "../../eth2/types"}
eth2_ssz = { path = "../../eth2/utils/ssz"}
serde_json = "1.0"
deposit_contract = { path = "../../eth2/utils/deposit_contract"}

View File

@@ -10,7 +10,6 @@ mod ganache;
use deposit_contract::{eth1_tx_data, ABI, BYTECODE, CONTRACT_DEPLOY_GAS, DEPOSIT_GAS};
use futures::{stream, Future, IntoFuture, Stream};
use ganache::GanacheInstance;
use ssz::Encode;
use std::time::{Duration, Instant};
use tokio::{runtime::Runtime, timer::Delay};
use types::DepositData;