aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2016-02-15 17:13:39 +0800
committerBas van Kervel <bas@ethdev.com>2016-02-16 17:52:46 +0800
commit0ff2adb21b4d9a4699f50b1d1a65873fac39d258 (patch)
tree139334729e5dd0ab4e6ddb2ad510662f09920667 /core
parent4f28c5b69d652e12adf8a88f526f459a492e159e (diff)
downloaddexon-0ff2adb21b4d9a4699f50b1d1a65873fac39d258.tar
dexon-0ff2adb21b4d9a4699f50b1d1a65873fac39d258.tar.gz
dexon-0ff2adb21b4d9a4699f50b1d1a65873fac39d258.tar.bz2
dexon-0ff2adb21b4d9a4699f50b1d1a65873fac39d258.tar.lz
dexon-0ff2adb21b4d9a4699f50b1d1a65873fac39d258.tar.xz
dexon-0ff2adb21b4d9a4699f50b1d1a65873fac39d258.tar.zst
dexon-0ff2adb21b4d9a4699f50b1d1a65873fac39d258.zip
core: improved check for contract creation
Diffstat (limited to 'core')
-rw-r--r--core/state_transition.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/state_transition.go b/core/state_transition.go
index 7ecc01d4c..12c3ab3a1 100644
--- a/core/state_transition.go
+++ b/core/state_transition.go
@@ -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)