aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorMatt Corallo <[email protected]>2017-09-11 15:47:09 -0400
committerMatt Corallo <[email protected]>2017-09-11 18:07:52 -0400
commit1789e4675b17f274fcb0761321e6fd249a102f40 (patch)
treed72c88f1091a160d8cfb6aff41aa13d57b9072ce /src/httpserver.cpp
parentMake float <-> int casts explicit outside of test, qt, CFeeRate (diff)
downloaddiscoin-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