diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-10-15 18:47:43 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-10-15 18:47:43 +0200 |
commit | e50bf5f81128b8ccaf2a623fa4437da09623cffb (patch) | |
tree | b6e0c8973905d9bdb1f852c11617bf7b6176f42b /src | |
parent | Merge pull request #2596 (diff) | |
parent | miner: always update block template when starting (diff) | |
download | monero-e50bf5f81128b8ccaf2a623fa4437da09623cffb.tar.xz |
Merge pull request #2597
c4136134 miner: always update block template when starting (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptonote_basic/miner.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cryptonote_basic/miner.cpp b/src/cryptonote_basic/miner.cpp index 8f53c2d3c..0aafe24e1 100644 --- a/src/cryptonote_basic/miner.cpp +++ b/src/cryptonote_basic/miner.cpp @@ -291,8 +291,7 @@ namespace cryptonote return false; } - if(!m_template_no) - request_block_template();//lets update block template + request_block_template();//lets update block template boost::interprocess::ipcdetail::atomic_write32(&m_stop, 0); boost::interprocess::ipcdetail::atomic_write32(&m_thread_index, 0); |