aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/amount.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amount.cpp b/src/amount.cpp
index d03ed5cfad..68806ff062 100644
--- a/src/amount.cpp
+++ b/src/amount.cpp
@@ -21,7 +21,7 @@ CAmount CFeeRate::GetFee(size_t nSize) const
{
CAmount nFee = nSatoshisPerK * nSize / 1000;
- if (nFee == 0 && nSize != 0 && nSatoshisPerK != 0)
+ if (nFee == 0 && nSize != 0 && nSatoshisPerK > 0)
nFee = CAmount(1);
return nFee;