Lowered default gas price and increased default gas limit

This commit is contained in:
obscuren
2015-03-11 17:36:35 +01:00
parent 2da7af4ba0
commit c01d4c2f4c
3 changed files with 17 additions and 10 deletions

View File

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