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 /xeth | |
parent | a219159e7e18ccaa52c9c493a19a11e6b7bab3dd (diff) | |
parent | 7324176f702a77fc331bf16a968d2eb4bccce021 (diff) | |
download | go-tangerine-abce09954b6901b446c004ee06b389c338922f28.tar go-tangerine-abce09954b6901b446c004ee06b389c338922f28.tar.gz go-tangerine-abce09954b6901b446c004ee06b389c338922f28.tar.bz2 go-tangerine-abce09954b6901b446c004ee06b389c338922f28.tar.lz go-tangerine-abce09954b6901b446c004ee06b389c338922f28.tar.xz 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 'xeth')
-rw-r--r-- | xeth/types.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xeth/types.go b/xeth/types.go index ad5101d61..218c8dc7c 100644 --- a/xeth/types.go +++ b/xeth/types.go @@ -19,6 +19,7 @@ package xeth import ( "bytes" "fmt" + "math/big" "strings" "github.com/ethereum/go-ethereum/common" @@ -76,7 +77,7 @@ type Block struct { Hash string `json:"hash"` Transactions *common.List `json:"transactions"` Uncles *common.List `json:"uncles"` - Time uint64 `json:"time"` + Time *big.Int `json:"time"` Coinbase string `json:"coinbase"` Name string `json:"name"` GasLimit string `json:"gasLimit"` |