mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-11 04:31:51 +00:00
Fix compile error, minor nits
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user