diff options
author | Felix Lange <fjl@twurst.com> | 2015-08-25 21:49:36 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-08-25 21:49:36 +0800 |
commit | abce09954b6901b446c004ee06b389c338922f28 (patch) | |
tree | 16ddada3b6ecbf26e53bb9eaf0c8b03812f7cab8 /core/vm/jit_test.go | |
parent | a219159e7e18ccaa52c9c493a19a11e6b7bab3dd (diff) | |
parent | 7324176f702a77fc331bf16a968d2eb4bccce021 (diff) | |
download | go-tangerine-abce09954b6901b446c004ee06b389c338922f28.tar.gz go-tangerine-abce09954b6901b446c004ee06b389c338922f28.tar.zst go-tangerine-abce09954b6901b446c004ee06b389c338922f28.zip |
Merge pull request #1711 from Gustav-Simonsson/timestamp_big_int
Add tests for uncle timestamps and refactor timestamp type
Diffstat (limited to 'core/vm/jit_test.go')
-rw-r--r-- | core/vm/jit_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/vm/jit_test.go b/core/vm/jit_test.go index b9e2c6999..d8e442637 100644 --- a/core/vm/jit_test.go +++ b/core/vm/jit_test.go @@ -93,7 +93,7 @@ func (self *Env) StructLogs() []StructLog { //func (self *Env) PrevHash() []byte { return self.parent } func (self *Env) Coinbase() common.Address { return common.Address{} } -func (self *Env) Time() uint64 { return uint64(time.Now().Unix()) } +func (self *Env) Time() *big.Int { return big.NewInt(time.Now().Unix()) } func (self *Env) Difficulty() *big.Int { return big.NewInt(0) } func (self *Env) State() *state.StateDB { return nil } func (self *Env) GasLimit() *big.Int { return self.gasLimit } |