diff options
| author | practicalswift <[email protected]> | 2017-06-08 09:43:54 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2017-06-08 09:43:54 +0200 |
| commit | 30c2d9db48ab552a3deef2df504fd973200756da (patch) | |
| tree | 6af36e11bc1c701cad0306a78821e059cb31441d /src/test | |
| parent | Merge #10321: Use FastRandomContext for all tests (diff) | |
| download | discoin-30c2d9db48ab552a3deef2df504fd973200756da.tar.xz discoin-30c2d9db48ab552a3deef2df504fd973200756da.zip | |
[tests] Remove unused function InsecureRandBytes(size_t len)
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/test_bitcoin.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.h b/src/test/test_bitcoin.h index 0087eeb2d..c9e4a3427 100644 --- a/src/test/test_bitcoin.h +++ b/src/test/test_bitcoin.h @@ -33,7 +33,6 @@ static inline uint256 InsecureRand256() { return insecure_rand_ctx.rand256(); } static inline uint64_t InsecureRandBits(int bits) { return insecure_rand_ctx.randbits(bits); } static inline uint64_t InsecureRandRange(uint64_t range) { return insecure_rand_ctx.randrange(range); } static inline bool InsecureRandBool() { return insecure_rand_ctx.randbool(); } -static inline std::vector<unsigned char> InsecureRandBytes(size_t len) { return insecure_rand_ctx.randbytes(len); } /** Basic testing setup. * This just configures logging and chain parameters. |