aboutsummaryrefslogtreecommitdiffstats
path: root/core/state_transition.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-12 00:36:35 +0800
committerobscuren <geffobscura@gmail.com>2015-03-12 00:36:35 +0800
commitc01d4c2f4c8704656e407ab4d80d9ec82e016731 (patch)
treec4abc2c2260a674cd14dc6b53af15ef9b634571d /core/state_transition.go
parent2da7af4ba0913acc74c554422a04958f3f8d78b9 (diff)
downloaddexon-c01d4c2f4c8704656e407ab4d80d9ec82e016731.tar.gz
dexon-c01d4c2f4c8704656e407ab4d80d9ec82e016731.tar.zst
dexon-c01d4c2f4c8704656e407ab4d80d9ec82e016731.zip
Lowered default gas price and increased default gas limit
Diffstat (limited to 'core/state_transition.go')
-rw-r--r--core/state_transition.go2
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 {