Skip to content

Commit

Permalink
livefuzzer: fix panic
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusVanDerWijden committed Dec 22, 2022
1 parent 88aa362 commit cf9c3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/livefuzzer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ func runCreate(c *cli.Context) error {

func setupDefaults(c *cli.Context) {
if sk := c.String(skFlag.Name); sk != "" {
txfuzz.SK = c.String(sk)
txfuzz.SK = sk
sk := crypto.ToECDSAUnsafe(common.FromHex(txfuzz.SK))
txfuzz.ADDR = crypto.PubkeyToAddress(sk.PublicKey).Hex()
}
Expand Down

0 comments on commit cf9c3f8

Please sign in to comment.