Skip to content

Commit

Permalink
update to associated function
Browse files Browse the repository at this point in the history
  • Loading branch information
realbigsean committed Feb 11, 2021
1 parent 074ce1f commit 3408ee1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lighthouse/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn bls_library_name() -> &'static str {

fn main() {

background_thread.write(true).unwrap();
background_thread::write(true).unwrap();

// Parse the CLI parameters.
let matches = App::new("Lighthouse")
Expand Down Expand Up @@ -274,7 +274,7 @@ fn run<E: EthSpec>(
"Configured for network";
"name" => &network_name
);
info!(log, "background threads", "enabled" => background_thread.read().unwrap());
info!(log, "background threads", "enabled" => background_thread::read().unwrap());

match matches.subcommand() {
("beacon_node", Some(matches)) => {
Expand Down

0 comments on commit 3408ee1

Please sign in to comment.