aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-08-26 19:23:35 +0200
committerRiccardo Spagni <ric@spagni.net>2015-08-26 19:23:42 +0200
commit41e2323ddcfe353568f5a81f3402bf5c1fc7335f (patch)
tree4bcdb46886159da763eb7db6ddff9e9b3c3ddaeb /src
parentMerge pull request #387 (diff)
parentblockchain: remove obsolete call to libc srand (diff)
downloadmonero-41e2323ddcfe353568f5a81f3402bf5c1fc7335f.tar.xz
Merge pull request #388
813e758 blockchain: remove obsolete call to libc srand (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r--src/cryptonote_core/blockchain.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index 24b82c520..09f8f8d7f 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -1416,7 +1416,6 @@ void Blockchain::add_out_to_get_random_outs(COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_A
bool Blockchain::get_random_outs_for_amounts(const COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS::request& req, COMMAND_RPC_GET_RANDOM_OUTPUTS_FOR_AMOUNTS::response& res) const
{
LOG_PRINT_L3("Blockchain::" << __func__);
- srand(static_cast<unsigned int>(time(NULL)));
CRITICAL_REGION_LOCAL(m_blockchain_lock);
// for each amount that we need to get mixins for, get <n> random outputs