aboutsummaryrefslogtreecommitdiffstats
path: root/common/hexutil/json.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/hexutil/json.go')
-rw-r--r--common/hexutil/json.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hexutil/json.go b/common/hexutil/json.go
index 11e14cae7..fbc21241c 100644
--- a/common/hexutil/json.go
+++ b/common/hexutil/json.go
@@ -223,7 +223,7 @@ func (b *Uint64) UnmarshalText(input []byte) error {
return ErrSyntax
}
dec *= 16
- dec += uint64(nib)
+ dec += nib
}
*b = Uint64(dec)
return nil