From 9c08631bb0057936e0ab3b275811e0743a01f590 Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Wed, 6 Nov 2024 18:24:55 +0100 Subject: [PATCH] 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 --- cmd/utils/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index f083a25f90..c788b85089 100644 --- a/cmd/utils/flags.go +++ b/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,