validator: --only-known-rpc requires a --known-validator ... (#23767)

(cherry picked from commit ce2e82cfb66ae6ecf8e10d15d919a472b12d171f)

Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
mergify[bot] 2022-03-18 08:54:52 +00:00 committed by GitHub
parent 2e1989bb9b
commit edb38c4bbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1127,6 +1127,7 @@ pub fn main() {
.alias("no-untrusted-rpc")
.long("only-known-rpc")
.takes_value(false)
.requires("known_validators")
.help("Use the RPC service of known validators only")
)
.arg(