diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-04-03 22:19:57 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-04-03 22:19:57 +0100 |
commit | 5b63246813c88256e36f58480bf1a624cbbd4ec7 (patch) | |
tree | 26eea00e028f2f4b837b749e15a7c431e74c28b3 /src/cryptonote_basic/cryptonote_basic.h | |
parent | Merge pull request #1930 (diff) | |
download | monero-5b63246813c88256e36f58480bf1a624cbbd4ec7.tar.xz |
core: fix blob size cache, and reenable hash and blob size caches
Diffstat (limited to 'src/cryptonote_basic/cryptonote_basic.h')
-rw-r--r-- | src/cryptonote_basic/cryptonote_basic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_basic/cryptonote_basic.h b/src/cryptonote_basic/cryptonote_basic.h index dab0d9f26..15ace2b0b 100644 --- a/src/cryptonote_basic/cryptonote_basic.h +++ b/src/cryptonote_basic/cryptonote_basic.h @@ -208,7 +208,7 @@ namespace cryptonote void invalidate_hashes(); bool is_hash_valid() const { return hash_valid.load(std::memory_order_acquire); } void set_hash_valid(bool v) const { hash_valid.store(v,std::memory_order_release); } - bool is_blob_size_valid() const { return hash_valid.load(std::memory_order_acquire); } + bool is_blob_size_valid() const { return blob_size_valid.load(std::memory_order_acquire); } void set_blob_size_valid(bool v) const { blob_size_valid.store(v,std::memory_order_release); } BEGIN_SERIALIZE_OBJECT() |