Skip to content

Commit c875c93

Browse files
committed
consensus/bor: use CodeChangeUnspecified
1 parent 2ba0b22 commit c875c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consensus/bor/bor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ func (c *Bor) changeContractCodeIfNeeded(headerNumber uint64, state vm.StateDB)
11961196

11971197
for addr, account := range allocs {
11981198
log.Info("change contract code", "address", addr)
1199-
state.SetCode(addr, account.Code, tracing.CodeChangeContractCreation)
1199+
state.SetCode(addr, account.Code, tracing.CodeChangeUnspecified)
12001200

12011201
if state.GetBalance(addr).Cmp(uint256.NewInt(0)) == 0 {
12021202
state.SetBalance(addr, uint256.MustFromBig(account.Balance), tracing.BalanceChangeUnspecified)

0 commit comments

Comments
 (0)