Merge pull request #3584 from obscuren/dead-code

core: removal of dead-code
This commit is contained in:
Péter Szilágyi 2017-01-18 13:36:21 +02:00 committed by GitHub
commit f087c66f95

View File

@ -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)