diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-02-25 19:35:06 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 4ce8adb190ae3351a507be54f38afa6b47ce18a3 (patch) | |
tree | 585b6f4bb5ee06b0fdab0f8e68f34e15b6ae0fed /core/evm.go | |
parent | 0ac79d780ba63c574d648552f887c9411fdd76fe (diff) | |
download | dexon-4ce8adb190ae3351a507be54f38afa6b47ce18a3.tar dexon-4ce8adb190ae3351a507be54f38afa6b47ce18a3.tar.gz dexon-4ce8adb190ae3351a507be54f38afa6b47ce18a3.tar.bz2 dexon-4ce8adb190ae3351a507be54f38afa6b47ce18a3.tar.lz dexon-4ce8adb190ae3351a507be54f38afa6b47ce18a3.tar.xz dexon-4ce8adb190ae3351a507be54f38afa6b47ce18a3.tar.zst dexon-4ce8adb190ae3351a507be54f38afa6b47ce18a3.zip |
core: vm: flatten governance
Diffstat (limited to 'core/evm.go')
-rw-r--r-- | core/evm.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/evm.go b/core/evm.go index 9e4f00f7c..ae18ee9a6 100644 --- a/core/evm.go +++ b/core/evm.go @@ -67,6 +67,7 @@ func NewEVMContext(msg Message, header *types.Header, chain ChainContext, author Time: new(big.Int).Set(header.Time), Randomness: header.Randomness, Difficulty: new(big.Int).Set(header.Difficulty), + Round: new(big.Int).SetUint64(header.Round), GasLimit: header.GasLimit, GasPrice: new(big.Int).Set(msg.GasPrice()), } |