diff options
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 b958a0b13..1fb47199b 100644 --- a/core/evm.go +++ b/core/evm.go @@ -52,6 +52,7 @@ func NewEVMContext(msg Message, header *types.Header, chain ChainContext, author Coinbase: beneficiary, BlockNumber: new(big.Int).Set(header.Number), Time: new(big.Int).Set(header.Time), + Randomness: header.Randomness, Difficulty: new(big.Int).Set(header.Difficulty), GasLimit: header.GasLimit, GasPrice: new(big.Int).Set(msg.GasPrice()), |