fix: update --rpc-cache.headers name (#14336)

This commit is contained in:
Matthias Seitz
2025-02-08 17:34:18 +01:00
committed by GitHub
parent b2011353f2
commit 2b16b06a39
2 changed files with 3 additions and 2 deletions

View File

@ -24,7 +24,8 @@ pub struct RpcStateCacheArgs {
/// Max number of headers in cache.
#[arg(
long = "rpc-cache.max-envs",
long = "rpc-cache.max-headers",
alias = "rpc-cache.max-envs",
default_value_t = DEFAULT_HEADER_CACHE_MAX_LEN,
)]
pub max_headers: u32,