diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-08-19 17:31:39 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-08-19 17:31:39 -0500 |
| commit | f205d28e96ef86303475a57b3fea15d2ede8a752 (patch) | |
| tree | 441fdb1de85bd9eaf60b65fbfbfe3019957bb224 /src/cryptonote_core/cryptonote_tx_utils.cpp | |
| parent | 4baec08d5c99f211bcd732656015d84493da56cc (diff) | |
| parent | 7b9a420787c71624ff0e9c6bcfe1e72c74feb677 (diff) | |
| download | monzero-core-f205d28e96ef86303475a57b3fea15d2ede8a752.tar.gz monzero-core-f205d28e96ef86303475a57b3fea15d2ede8a752.tar.xz monzero-core-f205d28e96ef86303475a57b3fea15d2ede8a752.zip | |
Merge pull request #5727
7b9a420 Replace std::random_shuffle with std::shuffle (tomsmeding)
Diffstat (limited to 'src/cryptonote_core/cryptonote_tx_utils.cpp')
| -rw-r--r-- | src/cryptonote_core/cryptonote_tx_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_tx_utils.cpp b/src/cryptonote_core/cryptonote_tx_utils.cpp index 854f3d1c5..4cf71e558 100644 --- a/src/cryptonote_core/cryptonote_tx_utils.cpp +++ b/src/cryptonote_core/cryptonote_tx_utils.cpp @@ -354,7 +354,7 @@ namespace cryptonote if (shuffle_outs) { - std::shuffle(destinations.begin(), destinations.end(), std::default_random_engine(crypto::rand<unsigned int>())); + std::shuffle(destinations.begin(), destinations.end(), crypto::random_device{}); } // sort ins by their key image |
