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 Martin HS
parent b04d6c4f42
commit d01591ccb5
1 changed files with 1 additions and 1 deletions

View File

@ -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,