diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-04-11 00:34:03 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-04-11 00:34:03 +0200 |
commit | c8dd4c58ce40d892ec1a438e0d7364f1a78c3735 (patch) | |
tree | 609e84601e04a6897435204eda25816979f9a342 /src/cryptonote_basic/cryptonote_basic.h | |
parent | Merge pull request #1952 (diff) | |
parent | core: fix blob size cache, and reenable hash and blob size caches (diff) | |
download | monero-c8dd4c58ce40d892ec1a438e0d7364f1a78c3735.tar.xz |
Merge pull request #1955
5b632468 core: fix blob size cache, and reenable hash and blob size caches (moneromooo-monero)
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() |