mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-21 14:14:30 +00:00
internal/ethapi: fix time type (#1455)
Co-authored-by: wit <wit765765346@gmail>
This commit is contained in:
parent
241ad1d635
commit
a943fcee3c
1 changed files with 1 additions and 1 deletions
|
|
@ -602,7 +602,7 @@ func (diff *BlockOverrides) Apply(blockCtx *vm.BlockContext) {
|
|||
blockCtx.Difficulty = diff.Difficulty.ToInt()
|
||||
}
|
||||
if diff.Time != nil {
|
||||
blockCtx.Time = diff.Time.ToInt()
|
||||
blockCtx.Time = diff.Time.ToInt().Uint64()
|
||||
}
|
||||
if diff.GasLimit != nil {
|
||||
blockCtx.GasLimit = uint64(*diff.GasLimit)
|
||||
|
|
|
|||
Loading…
Reference in a new issue