diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-12 00:36:35 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-12 00:36:35 +0800 |
commit | c01d4c2f4c8704656e407ab4d80d9ec82e016731 (patch) | |
tree | c4abc2c2260a674cd14dc6b53af15ef9b634571d /core | |
parent | 2da7af4ba0913acc74c554422a04958f3f8d78b9 (diff) | |
download | dexon-c01d4c2f4c8704656e407ab4d80d9ec82e016731.tar.gz dexon-c01d4c2f4c8704656e407ab4d80d9ec82e016731.tar.zst dexon-c01d4c2f4c8704656e407ab4d80d9ec82e016731.zip |
Lowered default gas price and increased default gas limit
Diffstat (limited to 'core')
-rw-r--r-- | core/state_transition.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/state_transition.go b/core/state_transition.go index b1c66d8c9..7659e3d50 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -199,6 +199,8 @@ func (self *StateTransition) TransitionState() (ret []byte, err error) { dataGas.Mul(dataGas, vm.GasCreateByte) if err := self.UseGas(dataGas); err == nil { ref.SetCode(ret) + } else { + statelogger.Infoln("Insufficient gas for creating code. Require", dataGas, "and have", self.gas) } } } else { |