Skip to content

Commit e7bc990

Browse files
authored
Fix missing log private key flag in mirror hammer (#1037)
1 parent 8ef04a3 commit e7bc990

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/mirror/hammer/hammer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ func getSignerOrDie(ctx context.Context) *note.Signer {
297297
var privKey string
298298
var err error
299299

300-
if len(privKey) == 0 {
301-
slog.ErrorContext(ctx, "Supply private key file path using --private_key")
300+
if len(*logPrivKey) == 0 {
301+
slog.ErrorContext(ctx, "Supply log private key file path using --log_private_key")
302302
os.Exit(1)
303303
}
304304

0 commit comments

Comments
 (0)