mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-19 03:04:27 -05:00
fix(docs): fix error message for missing jwtsecret flag (#11138)
This commit is contained in:
@@ -51,9 +51,10 @@ impl BenchContext {
|
||||
let mut benchmark_mode = BenchMode::new(bench_args.from, bench_args.to)?;
|
||||
|
||||
// construct the authenticated provider
|
||||
let auth_jwt = bench_args.auth_jwtsecret.clone().ok_or_else(|| {
|
||||
eyre::eyre!("--auth-jwtsecret must be provided for authenticated RPC")
|
||||
})?;
|
||||
let auth_jwt = bench_args
|
||||
.auth_jwtsecret
|
||||
.clone()
|
||||
.ok_or_else(|| eyre::eyre!("--jwtsecret must be provided for authenticated RPC"))?;
|
||||
|
||||
// fetch jwt from file
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user