diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-06-30 15:13:16 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-06-30 16:52:11 +0800 |
commit | 4c490db6afeb5a48d3e8d1d65ea8ddc9811d0a6d (patch) | |
tree | 4bb5055690cae276a5480572b463cd06fa219f23 /xeth | |
parent | be935bff84d54cd7a7f4074e2326d62f664ba4e3 (diff) | |
download | dexon-4c490db6afeb5a48d3e8d1d65ea8ddc9811d0a6d.tar dexon-4c490db6afeb5a48d3e8d1d65ea8ddc9811d0a6d.tar.gz dexon-4c490db6afeb5a48d3e8d1d65ea8ddc9811d0a6d.tar.bz2 dexon-4c490db6afeb5a48d3e8d1d65ea8ddc9811d0a6d.tar.lz dexon-4c490db6afeb5a48d3e8d1d65ea8ddc9811d0a6d.tar.xz dexon-4c490db6afeb5a48d3e8d1d65ea8ddc9811d0a6d.tar.zst dexon-4c490db6afeb5a48d3e8d1d65ea8ddc9811d0a6d.zip |
Use uint64 for block header timestamp
Diffstat (limited to 'xeth')
-rw-r--r-- | xeth/types.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/types.go b/xeth/types.go index ed64dc45e..1d6a0c5ca 100644 --- a/xeth/types.go +++ b/xeth/types.go @@ -60,7 +60,7 @@ type Block struct { Hash string `json:"hash"` Transactions *common.List `json:"transactions"` Uncles *common.List `json:"uncles"` - Time int64 `json:"time"` + Time uint64 `json:"time"` Coinbase string `json:"coinbase"` Name string `json:"name"` GasLimit string `json:"gasLimit"` |