Skip to content

Commit

Permalink
core: removal of dead-code
Browse files Browse the repository at this point in the history
Removal of dead code that appeard as if we had a consensus issue. This
however is not the case as the proper error catching happens in the vm
package instead.
  • Loading branch information
obscuren committed Jan 17, 2017
1 parent d63752e commit 508fdc3
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 508fdc3

Please sign in to comment.