Skip to content

Commit

Permalink
Merge pull request ethereum#3584 from obscuren/dead-code
Browse files Browse the repository at this point in the history
core: removal of dead-code
  • Loading branch information
karalabe authored Jan 18, 2017
2 parents d63752e + 508fdc3 commit f087c66
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/state_transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,6 @@ func (self *StateTransition) TransitionDb() (ret []byte, requiredGas, usedGas *b
)
if contractCreation {
ret, _, vmerr = vmenv.Create(sender, self.data, self.gas, self.value)
if homestead && err == vm.ErrCodeStoreOutOfGas {
self.gas = Big0
}
} else {
// Increment the nonce for the next transaction
self.state.SetNonce(sender.Address(), self.state.GetNonce(sender.Address())+1)
Expand Down

0 comments on commit f087c66

Please sign in to comment.