Skip to content

Commit 1a4a7e2

Browse files
MariusVanDerWijdenjakub-freebit
authored andcommitted
cmd/utils: change blssync.JWTSecretFlag to DirectoryFlag (ethereum#30729)
closes ethereum#30304 We already use `DirectoryFlag` for `authrpc.jwtsecret` which expands the tilde, so this should work out of the box
1 parent d4ca350 commit 1a4a7e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/utils/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ var (
319319
Usage: "Target EL engine API URL",
320320
Category: flags.BeaconCategory,
321321
}
322-
BlsyncJWTSecretFlag = &cli.StringFlag{
322+
BlsyncJWTSecretFlag = &flags.DirectoryFlag{
323323
Name: "blsync.jwtsecret",
324324
Usage: "Path to a JWT secret to use for target engine API endpoint",
325325
Category: flags.BeaconCategory,

0 commit comments

Comments
 (0)