aboutsummaryrefslogtreecommitdiffstats
path: root/common/hexutil/json_test.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-11-28 20:55:56 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-11-28 20:55:56 +0800
commit318ad3c1e424912ff69c9febc4e08a0137f8803f (patch)
treeb390bdd30b6b4eeaff111b758632434d1c1d7b4d /common/hexutil/json_test.go
parente949a2ed2f1c59ed5ff1f187ad987c882656e6ef (diff)
downloaddexon-318ad3c1e424912ff69c9febc4e08a0137f8803f.tar
dexon-318ad3c1e424912ff69c9febc4e08a0137f8803f.tar.gz
dexon-318ad3c1e424912ff69c9febc4e08a0137f8803f.tar.bz2
dexon-318ad3c1e424912ff69c9febc4e08a0137f8803f.tar.lz
dexon-318ad3c1e424912ff69c9febc4e08a0137f8803f.tar.xz
dexon-318ad3c1e424912ff69c9febc4e08a0137f8803f.tar.zst
dexon-318ad3c1e424912ff69c9febc4e08a0137f8803f.zip
common/hexutil: fix Test{Decode,Unmarshal}Uint64 on 32bit arch (#3363)
Diffstat (limited to 'common/hexutil/json_test.go')
-rw-r--r--common/hexutil/json_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hexutil/json_test.go b/common/hexutil/json_test.go
index 16f1b9aa7..2d2e2fc0f 100644
--- a/common/hexutil/json_test.go
+++ b/common/hexutil/json_test.go
@@ -202,7 +202,7 @@ var unmarshalUint64Tests = []unmarshalTest{
{input: `"0"`, wantErr: ErrMissingPrefix},
{input: `"0x"`, wantErr: ErrEmptyNumber},
{input: `"0x01"`, wantErr: ErrLeadingZero},
- {input: `"0xfffffffffffffffff"`, wantErr: ErrUintRange},
+ {input: `"0xfffffffffffffffff"`, wantErr: ErrUint64Range},
{input: `"0xx"`, wantErr: ErrSyntax},
{input: `"0x1zz01"`, wantErr: ErrSyntax},