Skip to content

Commit

Permalink
fix bather/proposer key_flag_name
Browse files Browse the repository at this point in the history
  • Loading branch information
eric committed Oct 12, 2023
1 parent b564a9c commit 0e2061e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions op-aws-sdk/key_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ func Key_manager(context context.Context, ctx *cli.Context, keyName string) erro
case OP_BATCHER_SIGN_KEY:
aws_key_id = "AWS_OP_BATCHER_SIGN_KEY_ID"
aws_key_region = "AWS_OP_BATCHER_SIGN_KEY_REGION"
key_flag_name = "OP_BATCHER_PRIVATE_KEY"
key_flag_name = "private-key"
case OP_PROPOSER_SIGN_KEY:
aws_key_id = "AWS_OP_PROPOSER_SIGN_KEY_ID"
aws_key_region = "AWS_OP_PROPOSER_SIGN_KEY_REGION"
key_flag_name = "OP_PROPOSER_PRIVATE_KEY"
key_flag_name = "private-key"
default:
log.Error("Key manager ", "error keyName", keyName)
return nil
Expand Down

0 comments on commit 0e2061e

Please sign in to comment.