aboutsummaryrefslogtreecommitdiff
path: root/src/node/blockstorage.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2022-01-02 16:59:07 +0100
committerMarcoFalke <falke.marco@gmail.com>2022-01-02 17:05:22 +0100
commitfa7efc915b87ec56ca1cc0bad7d8f79591bfa099 (patch)
treeed4b067f3b940e99cd1c8f4d0c34afbba9793794 /src/node/blockstorage.h
parentfade2a44f4aabc64185031dbf4c70d875ece6740 (diff)
downloadbitcoin-fa7efc915b87ec56ca1cc0bad7d8f79591bfa099.tar.xz
Fixup style of moved code
Can be reviewed with --word-diff-regex=. -U0 --ignore-all-space
Diffstat (limited to 'src/node/blockstorage.h')
-rw-r--r--src/node/blockstorage.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/node/blockstorage.h b/src/node/blockstorage.h
index ec9f5f791a..a18203f48d 100644
--- a/src/node/blockstorage.h
+++ b/src/node/blockstorage.h
@@ -50,9 +50,8 @@ extern uint64_t nPruneTarget;
typedef std::unordered_map<uint256, CBlockIndex*, BlockHasher> BlockMap;
-struct CBlockIndexWorkComparator
-{
- bool operator()(const CBlockIndex *pa, const CBlockIndex *pb) const;
+struct CBlockIndexWorkComparator {
+ bool operator()(const CBlockIndex* pa, const CBlockIndex* pb) const;
};
/**
@@ -124,7 +123,8 @@ public:
//! Returns last CBlockIndex* that is a checkpoint
CBlockIndex* GetLastCheckpoint(const CCheckpointData& data) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
- ~BlockManager() {
+ ~BlockManager()
+ {
Unload();
}
};