diff options
author | Martin Holst Swende <martin@swende.se> | 2019-04-03 04:28:48 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-04-08 17:00:42 +0800 |
commit | af401d03a395c21fdb297edb687edf8af3470cb2 (patch) | |
tree | d2ee3476c9005ffe1aca7abbe7152765da0efe32 /core/types/block_test.go | |
parent | 80a2a35bc3aaf208b5f91a1fb1d803975d4bb01c (diff) | |
download | dexon-af401d03a395c21fdb297edb687edf8af3470cb2.tar dexon-af401d03a395c21fdb297edb687edf8af3470cb2.tar.gz dexon-af401d03a395c21fdb297edb687edf8af3470cb2.tar.bz2 dexon-af401d03a395c21fdb297edb687edf8af3470cb2.tar.lz dexon-af401d03a395c21fdb297edb687edf8af3470cb2.tar.xz dexon-af401d03a395c21fdb297edb687edf8af3470cb2.tar.zst dexon-af401d03a395c21fdb297edb687edf8af3470cb2.zip |
all: simplify timestamps to uint64 (#19372)
* all: simplify timestamps to uint64
* tests: update definitions
* clef, faucet, mobile: leftover uint64 fixups
* ethash: fix tests
* graphql: update schema for timestamp
* ethash: remove unused variable
Diffstat (limited to 'core/types/block_test.go')
-rw-r--r-- | core/types/block_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/types/block_test.go b/core/types/block_test.go index a35fbc25b..2576f2fbc 100644 --- a/core/types/block_test.go +++ b/core/types/block_test.go @@ -48,7 +48,7 @@ func TestBlockEncoding(t *testing.T) { check("Root", block.Root(), common.HexToHash("ef1552a40b7165c3cd773806b9e0c165b75356e0314bf0706f279c729f51e017")) check("Hash", block.Hash(), common.HexToHash("0a5843ac1cb04865017cb35a57b50b07084e5fcee39b5acadade33149f4fff9e")) check("Nonce", block.Nonce(), uint64(0xa13a5a8c8f2bb1c4)) - check("Time", block.Time(), big.NewInt(1426516743)) + check("Time", block.Time(), uint64(1426516743)) check("Size", block.Size(), common.StorageSize(len(blockEnc))) tx1 := NewTransaction(0, common.HexToAddress("095e7baea6a6c7c4c2dfeb977efac326af552d87"), big.NewInt(10), 50000, big.NewInt(10), nil) |