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
This commit is contained in:
Marius van der Wijden 2024-11-06 18:24:55 +01:00 committed by GitHub
parent e56bbd77a4
commit 9c08631bb0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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