diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-03-01 16:59:12 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-03-01 16:59:12 +0800 |
commit | f30b809f00cfe98190c682407943583f235f39d0 (patch) | |
tree | cd908d75bb01a821bd6ea72224d0154a9e8a16a6 /core | |
parent | 7d598af49324176cd60b6ce89bc8a72080098675 (diff) | |
parent | 0ff2adb21b4d9a4699f50b1d1a65873fac39d258 (diff) | |
download | dexon-f30b809f00cfe98190c682407943583f235f39d0.tar.gz dexon-f30b809f00cfe98190c682407943583f235f39d0.tar.zst dexon-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.go | 2 |
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) |