diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-09-17 14:33:52 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-09-17 14:34:56 -0400 |
commit | fa84723e73d3d7766e7821881ac96ec203e50efc (patch) | |
tree | 9c787a6f86911345f09c5cb1b708cc58095f9209 /src/test/test_bitcoin.h | |
parent | 4901c00792c1dabae4bb01e6373c9b1ed9ef3008 (diff) |
amount: Move CAmount CENT to unit test header
Diffstat (limited to 'src/test/test_bitcoin.h')
-rw-r--r-- | src/test/test_bitcoin.h | 2 |
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. */ |