Skip to content

Commit b6033d4

Browse files
committed
core/state: rename new variable ethereum#18301
1 parent b413f71 commit b6033d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/state/statedb.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -599,9 +599,9 @@ func (s *StateDB) createObject(addr common.Address) (newobj, prev *stateObject)
599599
//
600600
// Carrying over the balance ensures that Ether doesn't disappear.
601601
func (s *StateDB) CreateAccount(addr common.Address) {
602-
new, prev := s.createObject(addr)
602+
newObj, prev := s.createObject(addr)
603603
if prev != nil {
604-
new.setBalance(prev.data.Balance)
604+
newObj.setBalance(prev.data.Balance)
605605
}
606606
}
607607

0 commit comments

Comments
 (0)