Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Refactor unwrap() with Match #1164

Open
wants to merge 7 commits into
base: v6
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added std::process::exit specifically
  • Loading branch information
nControl88 committed Sep 15, 2022
commit 3650e8a0137777539318024fea6ba64bd79262d9
3 changes: 1 addition & 2 deletions ol/tower/src/proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use glob::glob;
use ol::node::client;
use ol_types::block::VDFProof;
use ol_types::config::AppCfg;
use std::process::exit;
use std::{fs, io::Write, path::PathBuf, time::Instant};
use txs::tx_params::TxParams;

Expand Down Expand Up @@ -293,7 +292,7 @@ fn create_fixtures() {
Ok() => file.write(&toml.as_bytes()),
Err(msg) => {
println!("Could not write toml\nError {}", msg);
exit(1)
std::process::exit(1)
}
}
}
nControl88 marked this conversation as resolved.
Show resolved Hide resolved
Expand Down