diff options
| author | MarcoFalke <[email protected]> | 2018-09-17 14:33:52 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2018-09-17 14:34:56 -0400 |
| commit | fa84723e73d3d7766e7821881ac96ec203e50efc (patch) | |
| tree | 9c787a6f86911345f09c5cb1b708cc58095f9209 /src/test | |
| parent | Merge #14236: qa: generate --> generatetoaddress change to allow tests run wi... (diff) | |
| download | discoin-fa84723e73d3d7766e7821881ac96ec203e50efc.tar.xz discoin-fa84723e73d3d7766e7821881ac96ec203e50efc.zip | |
amount: Move CAmount CENT to unit test header
Diffstat (limited to 'src/test')
| -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 b87d9bea5..387276713 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. */ |