Make float <-> int casts explicit outside of test, qt, CFeeRate
This commit is contained in:
+1
-1
@@ -1043,5 +1043,5 @@ CAmount FeeFilterRounder::round(CAmount currentMinFee)
|
||||
if ((it != feeset.begin() && insecure_rand.rand32() % 3 != 0) || it == feeset.end()) {
|
||||
it--;
|
||||
}
|
||||
return *it;
|
||||
return static_cast<CAmount>(*it);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user