diff options
| author | Matt Corallo <[email protected]> | 2017-09-11 15:47:09 -0400 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2017-09-11 18:07:52 -0400 |
| commit | 1789e4675b17f274fcb0761321e6fd249a102f40 (patch) | |
| tree | d72c88f1091a160d8cfb6aff41aa13d57b9072ce /src/httpserver.cpp | |
| parent | Make float <-> int casts explicit outside of test, qt, CFeeRate (diff) | |
| download | discoin-1789e4675b17f274fcb0761321e6fd249a102f40.tar.xz discoin-1789e4675b17f274fcb0761321e6fd249a102f40.zip | |
Force explicit double -> int conversion for CFeeRate constructor
This resolves an issue where estimatesmartfee would return 999
sat/byte instead of 1000, due to floating point loss of precision
Thanks to sipa for suggesting is_integral.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions