aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/state_transition.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/core/state_transition.go b/core/state_transition.go
index 38fbebfd9..3cb7e500c 100644
--- a/core/state_transition.go
+++ b/core/state_transition.go
@@ -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)