diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-12-01 09:32:36 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-12-01 09:30:27 +0100 |
commit | fa6b7adf965e68ec6a46d867966b1d44af98e908 (patch) | |
tree | cbb4ee4aefabce651d0a58ca37a984c963ce9a6e /src/node/miner.h | |
parent | 9174bcf7da3e15e61dce801ec414a6af01ba44d3 (diff) | |
download | bitcoin-fa6b7adf965e68ec6a46d867966b1d44af98e908.tar.xz |
style: Add {} to if-bodies in node/miner
Can be reviewed with --word-diff-regex=. --ignore-all-space
Diffstat (limited to 'src/node/miner.h')
-rw-r--r-- | src/node/miner.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/node/miner.h b/src/node/miner.h index 0e8c02793a..be5e2bbe91 100644 --- a/src/node/miner.h +++ b/src/node/miner.h @@ -80,10 +80,11 @@ struct modifiedentry_iter { // This is sufficient to sort an ancestor package in an order that is valid // to appear in a block. struct CompareTxIterByAncestorCount { - bool operator()(const CTxMemPool::txiter &a, const CTxMemPool::txiter &b) const + bool operator()(const CTxMemPool::txiter& a, const CTxMemPool::txiter& b) const { - if (a->GetCountWithAncestors() != b->GetCountWithAncestors()) + if (a->GetCountWithAncestors() != b->GetCountWithAncestors()) { return a->GetCountWithAncestors() < b->GetCountWithAncestors(); + } return CompareIteratorByHash()(a, b); } }; |