diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-03-28 11:44:19 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-03-28 12:20:13 +0200 |
| commit | d7b80b54fbb73acc92ddee84697ac4cc10d4d336 (patch) | |
| tree | baff049446ff5e1f993139b6d9db777928bafeb9 /src/chainparams.cpp | |
| parent | Merge #7732: [Qt] Debug window: replace "Build date" with "Datadir" (diff) | |
| download | discoin-d7b80b54fbb73acc92ddee84697ac4cc10d4d336.tar.xz discoin-d7b80b54fbb73acc92ddee84697ac4cc10d4d336.zip | |
test_framework: Avoid infinite loop in encoding Decimal
Avoid an infinite loop in encoding, by ensuring EncodeDecimal
returns a string. round(Decimal) used to convert it to
float, but it no longer does in python 3.x. Strings are
supported since #6380, so just use that.
Diffstat (limited to 'src/chainparams.cpp')
0 files changed, 0 insertions, 0 deletions