chore: defense against new variant (#20600)

This commit is contained in:
Matthias Seitz
2025-12-23 17:34:24 +01:00
committed by GitHub
parent 6627c19071
commit 334d9f2a76

View File

@@ -137,7 +137,7 @@ where
Params::Bool(false) | Params::None => {
// only hashes requested
}
Params::Logs(_) => {
_ => {
return Err(invalid_params_rpc_err(
"Invalid params for newPendingTransactions",
))