aboutsummaryrefslogtreecommitdiff
path: root/src/test
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/test
parent4901c00792c1dabae4bb01e6373c9b1ed9ef3008 (diff)
amount: Move CAmount CENT to unit test header
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_bitcoin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_bitcoin.h b/src/test/test_bitcoin.h
index b87d9bea5d..3872767133 100644
--- a/src/test/test_bitcoin.h
+++ b/src/test/test_bitcoin.h
@@ -37,6 +37,8 @@ static inline uint64_t InsecureRandBits(int bits) { return insecure_rand_ctx.ran
static inline uint64_t InsecureRandRange(uint64_t range) { return insecure_rand_ctx.randrange(range); }
static inline bool InsecureRandBool() { return insecure_rand_ctx.randbool(); }
+static constexpr CAmount CENT{1000000};
+
/** Basic testing setup.
* This just configures logging and chain parameters.
*/