diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-16 06:27:13 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-16 06:27:13 +0800 |
commit | 1564f1a020b9edc78bc672f8f2df64b3d0dc55c3 (patch) | |
tree | d898e2b20a6c2e0b5613ae7f669499c5db23b719 /core/state_transition.go | |
parent | 8e24378cc1acb074b56de75bf0baf6feb7927677 (diff) | |
parent | 7ea76fcf993f3fecb55233bdcc2409618d9080b9 (diff) | |
download | go-tangerine-1564f1a020b9edc78bc672f8f2df64b3d0dc55c3.tar go-tangerine-1564f1a020b9edc78bc672f8f2df64b3d0dc55c3.tar.gz go-tangerine-1564f1a020b9edc78bc672f8f2df64b3d0dc55c3.tar.bz2 go-tangerine-1564f1a020b9edc78bc672f8f2df64b3d0dc55c3.tar.lz go-tangerine-1564f1a020b9edc78bc672f8f2df64b3d0dc55c3.tar.xz go-tangerine-1564f1a020b9edc78bc672f8f2df64b3d0dc55c3.tar.zst go-tangerine-1564f1a020b9edc78bc672f8f2df64b3d0dc55c3.zip |
Merge branch 'release/0.9.21'v0.9.21
Diffstat (limited to 'core/state_transition.go')
-rw-r--r-- | core/state_transition.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/state_transition.go b/core/state_transition.go index d95cbd35a..3d11a0464 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -205,6 +205,7 @@ func (self *StateTransition) transitionState() (ret []byte, usedGas *big.Int, er if err := self.UseGas(dataGas); err == nil { ref.SetCode(ret) } else { + ret = nil // does not affect consensus but useful for StateTests validations glog.V(logger.Core).Infoln("Insufficient gas for creating code. Require", dataGas, "and have", self.gas) } } |