mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
use expect instead of unwrap
This commit is contained in:
@@ -1238,7 +1238,7 @@ mod tests {
|
||||
1,
|
||||
1,
|
||||
)
|
||||
.unwrap();
|
||||
.expect("Failed to create ProofTaskManager");
|
||||
let channel = channel();
|
||||
|
||||
MultiProofTask::new(config, executor, proof_task.handle(), channel.0, 1, None)
|
||||
|
||||
Reference in New Issue
Block a user