Skip to content

Commit

Permalink
fix(taiko-client): config.LProposerPrivKey loads an incorrect flag …
Browse files Browse the repository at this point in the history
…value (#17107)
  • Loading branch information
YoGhurt111 authored May 13, 2024
1 parent 14ebeff commit 8f69963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taiko-client/proposer/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func NewConfigFromCliContext(c *cli.Context) (*Config, error) {
return nil, fmt.Errorf("invalid JWT secret file: %w", err)
}

l1ProposerPrivKey, err := crypto.ToECDSA(common.FromHex(c.String(flags.L1ProverPrivKey.Name)))
l1ProposerPrivKey, err := crypto.ToECDSA(common.FromHex(c.String(flags.L1ProposerPrivKey.Name)))
if err != nil {
return nil, fmt.Errorf("invalid L1 proposer private key: %w", err)
}
Expand Down

0 comments on commit 8f69963

Please sign in to comment.