aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/coinselection.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-09-17 14:33:52 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-09-17 14:34:56 -0400
commitfa84723e73d3d7766e7821881ac96ec203e50efc (patch)
tree9c787a6f86911345f09c5cb1b708cc58095f9209 /src/wallet/coinselection.h
parent4901c00792c1dabae4bb01e6373c9b1ed9ef3008 (diff)
amount: Move CAmount CENT to unit test header
Diffstat (limited to 'src/wallet/coinselection.h')
-rw-r--r--src/wallet/coinselection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/coinselection.h b/src/wallet/coinselection.h
index 6d755d0969..5348401f45 100644
--- a/src/wallet/coinselection.h
+++ b/src/wallet/coinselection.h
@@ -10,7 +10,7 @@
#include <random.h>
//! target minimum change amount
-static const CAmount MIN_CHANGE = CENT;
+static constexpr CAmount MIN_CHANGE{COIN / 100};
//! final minimum change amount after paying for fees
static const CAmount MIN_FINAL_CHANGE = MIN_CHANGE/2;