mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 19:51:47 +00:00
Add error message for duration subtraction overflow in sim tests (#6558)
* Add error message for duration subtraction overflow.
This commit is contained in:
@@ -206,7 +206,7 @@ pub fn run_basic_sim(matches: &ArgMatches) -> Result<(), String> {
|
||||
node.server.all_payloads_valid();
|
||||
});
|
||||
|
||||
let duration_to_genesis = network.duration_to_genesis().await;
|
||||
let duration_to_genesis = network.duration_to_genesis().await?;
|
||||
println!("Duration to genesis: {}", duration_to_genesis.as_secs());
|
||||
sleep(duration_to_genesis).await;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user