Skip to content

Commit

Permalink
respond to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dmanc committed Jun 8, 2024
1 parent fa38314 commit f4013c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/traffic/cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func trafficGeneratorMain(ctx *cli.Context) error {
var signer core.BlobRequestSigner
if config.SignerPrivateKey != "" {
log.Println("Using signer private key")
signer = auth.NewSigner(config.SignerPrivateKey)
signer = auth.NewLocalBlobRequestSigner(config.SignerPrivateKey)
}

generator, err := traffic.NewTrafficGenerator(config, signer)
Expand Down
4 changes: 2 additions & 2 deletions tools/traffic/flags/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ var (
}
SignerPrivateKeyFlag = cli.StringFlag{
Name: common.PrefixFlag(FlagPrefix, "signer-private-key-hex"),
Usage: "Path to the private key file",
Required: true,
Usage: "Private key to use for signing requests",
Required: false,
EnvVar: common.PrefixEnvVar(envPrefix, "SIGNER_PRIVATE_KEY_HEX"),
}
CustomQuorumNumbersFlag = cli.IntSliceFlag{
Expand Down

0 comments on commit f4013c1

Please sign in to comment.