diff options
| author | Pieter Wuille <[email protected]> | 2017-02-15 17:45:22 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2017-03-29 11:26:08 -0700 |
| commit | 16329224e70d0525208f6b0ba00c5e1531a4f5ea (patch) | |
| tree | 8decd575cf1023486f2383e125c90085ebabd17a /src/test/test_bitcoin.cpp | |
| parent | Add ChaCha20 (diff) | |
| download | discoin-16329224e70d0525208f6b0ba00c5e1531a4f5ea.tar.xz discoin-16329224e70d0525208f6b0ba00c5e1531a4f5ea.zip | |
Switch FastRandomContext to ChaCha20
Diffstat (limited to 'src/test/test_bitcoin.cpp')
| -rw-r--r-- | src/test/test_bitcoin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index abaec45cd..48593f62d 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -27,7 +27,8 @@ #include <boost/filesystem.hpp> #include <boost/thread.hpp> -FastRandomContext insecure_rand_ctx(true); +uint256 insecure_rand_seed = GetRandHash(); +FastRandomContext insecure_rand_ctx(insecure_rand_seed); extern bool fPrintToConsole; extern void noui_connect(); |