diff options
author | Carl Dong <contact@carldong.me> | 2020-12-24 20:06:34 -0500 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2022-04-19 14:34:56 -0400 |
commit | 3308ecd3fc254ee4ef9f803c09f00ba4dc968520 (patch) | |
tree | 20898e5727d2c23d45ef6f786225b5291f201c28 /src/node/interfaces.cpp | |
parent | c96524113c48553c4bbad63077a25494eca8159e (diff) | |
download | bitcoin-3308ecd3fc254ee4ef9f803c09f00ba4dc968520.tar.xz |
move-mostly: Make fHavePruned a BlockMan member
[META] In the next commit, we move the clearing of fHavePruned to
BlockManager::Unload()
Diffstat (limited to 'src/node/interfaces.cpp')
-rw-r--r-- | src/node/interfaces.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/interfaces.cpp b/src/node/interfaces.cpp index 96e0e365a4..d444de022b 100644 --- a/src/node/interfaces.cpp +++ b/src/node/interfaces.cpp @@ -645,7 +645,7 @@ public: bool havePruned() override { LOCK(cs_main); - return node::fHavePruned; + return m_node.chainman->m_blockman.fHavePruned; } bool isReadyToBroadcast() override { return !node::fImporting && !node::fReindex && !isInitialBlockDownload(); } bool isInitialBlockDownload() override { |