From fd512fa12c59657d9e47cc3411e6e24bd1af89cb Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Tue, 25 Aug 2015 15:49:36 +0200 Subject: Merge pull request #1711 from Gustav-Simonsson/timestamp_big_int Add tests for uncle timestamps and refactor timestamp type (cherry picked from commit abce09954b6901b446c004ee06b389c338922f28) --- xeth/types.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xeth') 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"` -- cgit v1.2.3