Enable large_stack_frames lint (#6343)

* Enable `large_stack_frames` lint
This commit is contained in:
Michael Sproul
2024-09-05 15:01:16 +10:00
committed by GitHub
parent 672dcbd868
commit 26c19d65a3
7 changed files with 15 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ const DENEB_FORK_EPOCH: u64 = 2;
const SUGGESTED_FEE_RECIPIENT: [u8; 20] =
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
#[allow(clippy::large_stack_frames)]
pub fn run_basic_sim(matches: &ArgMatches) -> Result<(), String> {
let node_count = matches
.get_one::<String>("nodes")