diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-07-27 14:26:01 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-07-27 14:26:01 -0500 |
commit | dda05f357a3eed6426d4a78e59a2e88652d30537 (patch) | |
tree | 1be78bacd70d04b8e763d0f66d747a84d9e941be | |
parent | Merge pull request #4098 (diff) | |
parent | blockchain: cache next block difficulty after adding a block (diff) | |
download | monero-dda05f357a3eed6426d4a78e59a2e88652d30537.tar.xz |
Merge pull request #4108
8c05237 blockchain: cache next block difficulty after adding a block (moneromooo-monero)
Diffstat (limited to '')
-rw-r--r-- | src/cryptonote_core/blockchain.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp index 6e35744e6..dad30906e 100644 --- a/src/cryptonote_core/blockchain.cpp +++ b/src/cryptonote_core/blockchain.cpp @@ -3696,6 +3696,7 @@ leave: // appears to be a NOP *and* is called elsewhere. wat? m_tx_pool.on_blockchain_inc(new_height, id); + get_difficulty_for_next_block(); // just to cache it return true; } |