aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-03-01 16:59:12 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-03-01 16:59:12 +0800
commitf30b809f00cfe98190c682407943583f235f39d0 (patch)
treecd908d75bb01a821bd6ea72224d0154a9e8a16a6 /core
parent7d598af49324176cd60b6ce89bc8a72080098675 (diff)
parent0ff2adb21b4d9a4699f50b1d1a65873fac39d258 (diff)
downloadgo-tangerine-f30b809f00cfe98190c682407943583f235f39d0.tar.gz
go-tangerine-f30b809f00cfe98190c682407943583f235f39d0.tar.zst
go-tangerine-f30b809f00cfe98190c682407943583f235f39d0.zip
Merge pull request #2215 from bas-vk/estimategas
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 52a46c63d..2887f6228 100644
--- a/core/state_transition.go
+++ b/core/state_transition.go
@@ -78,7 +78,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, contractCreation, homestead bool) *big.Int {
igas := new(big.Int)