aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-01-18 19:36:21 +0800
committerGitHub <noreply@github.com>2017-01-18 19:36:21 +0800
commitf087c66f9599b0f4650ae643d3342b10a6b56c5b (patch)
treef0cfe622ace453ec42bbb034ed9d265ddd9a1480
parentd63752ef4d4e455f2f8f0acebf89e482534b0ef1 (diff)
parent508fdc3496542e10de1adb6d7c55030e54d66d8f (diff)
downloadgo-tangerine-f087c66f9599b0f4650ae643d3342b10a6b56c5b.tar
go-tangerine-f087c66f9599b0f4650ae643d3342b10a6b56c5b.tar.gz
go-tangerine-f087c66f9599b0f4650ae643d3342b10a6b56c5b.tar.bz2
go-tangerine-f087c66f9599b0f4650ae643d3342b10a6b56c5b.tar.lz
go-tangerine-f087c66f9599b0f4650ae643d3342b10a6b56c5b.tar.xz
go-tangerine-f087c66f9599b0f4650ae643d3342b10a6b56c5b.tar.zst
go-tangerine-f087c66f9599b0f4650ae643d3342b10a6b56c5b.zip
Merge pull request #3584 from obscuren/dead-code
core: removal of dead-code
-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)