diff options
author | Felix Lange <fjl@twurst.com> | 2017-05-02 19:42:55 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2017-05-02 19:42:55 +0800 |
commit | 32db5716816ef6fddb0d943fc0083c89127e8533 (patch) | |
tree | 439e02ad1e42ae0a20193cb006742d01fc443a8e /compression | |
parent | f9be9a2302dd73fe3cc792167d65f24c7b7d35c4 (diff) | |
download | dexon-32db5716816ef6fddb0d943fc0083c89127e8533.tar.gz dexon-32db5716816ef6fddb0d943fc0083c89127e8533.tar.zst dexon-32db5716816ef6fddb0d943fc0083c89127e8533.zip |
console: avoid float64 when remarshaling parameters
With Go 1.7, encoding/json marshals float64 using scientific
notation ("10e+6"), but Go's int and *big.Int decoders don't accept such
numbers. This change disables use of float64 to avoid the problem.
Diffstat (limited to 'compression')
0 files changed, 0 insertions, 0 deletions