cmd/utils: change blssync.JWTSecretFlag to DirectoryFlag (#30729)

closes https://github.com/ethereum/go-ethereum/issues/30304

We already use `DirectoryFlag` for `authrpc.jwtsecret` which expands the
tilde, so this should work out of the box
pull/30570/merge
Marius van der Wijden 1 week ago committed by GitHub
parent e56bbd77a4
commit 9c08631bb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      cmd/utils/flags.go

@ -319,7 +319,7 @@ var (
Usage: "Target EL engine API URL",
Category: flags.BeaconCategory,
}
BlsyncJWTSecretFlag = &cli.StringFlag{
BlsyncJWTSecretFlag = &flags.DirectoryFlag{
Name: "blsync.jwtsecret",
Usage: "Path to a JWT secret to use for target engine API endpoint",
Category: flags.BeaconCategory,

Loading…
Cancel
Save