core: improved check for contract creation

This commit is contained in:
Bas van Kervel
2016-02-15 10:13:39 +01:00
parent 4f28c5b69d
commit 0ff2adb21b
2 changed files with 32 additions and 35 deletions

View File

@ -73,7 +73,7 @@ func MessageCreatesContract(msg Message) bool {
return msg.To() == nil
}
// IntrinsicGas computes the 'intrisic gas' for a message
// IntrinsicGas computes the 'intrinsic gas' for a message
// with the given data.
func IntrinsicGas(data []byte) *big.Int {
igas := new(big.Int).Set(params.TxGas)