validator: --only-known-rpc
requires a --known-validator ...
This commit is contained in:
committed by
mergify[bot]
parent
857576d76f
commit
ce2e82cfb6
@ -1099,6 +1099,7 @@ pub fn main() {
|
|||||||
.alias("no-untrusted-rpc")
|
.alias("no-untrusted-rpc")
|
||||||
.long("only-known-rpc")
|
.long("only-known-rpc")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
|
.requires("known_validators")
|
||||||
.help("Use the RPC service of known validators only")
|
.help("Use the RPC service of known validators only")
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
|
Reference in New Issue
Block a user