Skip to content

Commit 142c94d

Browse files
authored
cmd/evm: don't overwrite sender account (ethereum#30259)
Fixes ethereum#30254 It seems like the removed CreateAccount call is very old and not needed anymore. After removing it, setting a sender that does not exist in the state doesn't seem to cause an issue.
1 parent 16cf5c5 commit 142c94d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmd/evm/runner.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ func runCmd(ctx *cli.Context) error {
162162
if ctx.String(SenderFlag.Name) != "" {
163163
sender = common.HexToAddress(ctx.String(SenderFlag.Name))
164164
}
165-
statedb.CreateAccount(sender)
166165

167166
if ctx.String(ReceiverFlag.Name) != "" {
168167
receiver = common.HexToAddress(ctx.String(ReceiverFlag.Name))

0 commit comments

Comments
 (0)