From 5b63246813c88256e36f58480bf1a624cbbd4ec7 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Mon, 3 Apr 2017 22:19:57 +0100 Subject: core: fix blob size cache, and reenable hash and blob size caches --- src/cryptonote_basic/cryptonote_basic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cryptonote_basic/cryptonote_basic.h') 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() -- cgit v1.2.3