mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
core/state: fix typo in CreateContract
This commit is contained in:
parent
16f50285b7
commit
5f4774b9e5
1 changed files with 1 additions and 1 deletions
|
|
@ -401,7 +401,7 @@ func newTestAction(addr common.Address, r *rand.Rand) testAction {
|
|||
// We also set some code here, to prevent the
|
||||
// CreateContract action from being performed twice in a row,
|
||||
// which would cause a difference in state when unrolling
|
||||
// the journal. (CreateContact assumes created was false prior to
|
||||
// the journal. (CreateContract assumes created was false prior to
|
||||
// invocation, and the journal rollback sets it to false).
|
||||
s.SetCode(addr, []byte{1}, tracing.CodeChangeUnspecified)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue