validator: --only-known-rpc requires a --known-validator ...

This commit is contained in:
Trent Nelson
2022-03-17 20:27:08 -06:00
committed by mergify[bot]
parent 857576d76f
commit ce2e82cfb6

View File

@ -1099,6 +1099,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(