mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-23 14:54:45 +00:00
Fix compile error, minor nits
This commit is contained in:
@@ -7,7 +7,7 @@ extern crate network as client_network;
|
|||||||
mod beacon;
|
mod beacon;
|
||||||
pub mod config;
|
pub mod config;
|
||||||
mod error;
|
mod error;
|
||||||
pub mod helpers;
|
mod helpers;
|
||||||
mod metrics;
|
mod metrics;
|
||||||
mod network;
|
mod network;
|
||||||
mod node;
|
mod node;
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ fn run<E: EthSpec>(
|
|||||||
{
|
{
|
||||||
let runtime_context = environment.core_context();
|
let runtime_context = environment.core_context();
|
||||||
|
|
||||||
let validator = environment
|
let mut validator = environment
|
||||||
.runtime()
|
.runtime()
|
||||||
.block_on(ProductionValidatorClient::new_from_cli(
|
.block_on(ProductionValidatorClient::new_from_cli(
|
||||||
runtime_context,
|
runtime_context,
|
||||||
|
|||||||
@@ -9,6 +9,5 @@ web3 = "0.8.0"
|
|||||||
tokio = "0.1.17"
|
tokio = "0.1.17"
|
||||||
futures = "0.1.25"
|
futures = "0.1.25"
|
||||||
types = { path = "../../eth2/types"}
|
types = { path = "../../eth2/types"}
|
||||||
eth2_ssz = { path = "../../eth2/utils/ssz"}
|
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
deposit_contract = { path = "../../eth2/utils/deposit_contract"}
|
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 deposit_contract::{eth1_tx_data, ABI, BYTECODE, CONTRACT_DEPLOY_GAS, DEPOSIT_GAS};
|
||||||
use futures::{stream, Future, IntoFuture, Stream};
|
use futures::{stream, Future, IntoFuture, Stream};
|
||||||
use ganache::GanacheInstance;
|
use ganache::GanacheInstance;
|
||||||
use ssz::Encode;
|
|
||||||
use std::time::{Duration, Instant};
|
use std::time::{Duration, Instant};
|
||||||
use tokio::{runtime::Runtime, timer::Delay};
|
use tokio::{runtime::Runtime, timer::Delay};
|
||||||
use types::DepositData;
|
use types::DepositData;
|
||||||
|
|||||||
Reference in New Issue
Block a user