From 508fdc3496542e10de1adb6d7c55030e54d66d8f Mon Sep 17 00:00:00 2001 From: Jeffrey Wilcke Date: Tue, 17 Jan 2017 21:49:08 +0100 Subject: core: removal of dead-code 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. --- core/state_transition.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'core') 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) -- cgit v1.2.3