diff options
author | Fabian Jahr <fjahr@protonmail.com> | 2023-10-03 18:18:41 +0200 |
---|---|---|
committer | Fabian Jahr <fjahr@protonmail.com> | 2023-10-06 19:43:32 +0200 |
commit | a482f86779a6182d87004b463c0eaf21038181c3 (patch) | |
tree | 11f51f6c1c72d35e95e8109ebd62d8a7f44ed351 /src/chain.h | |
parent | 82e48d20f1243fb7733e872a29661b151ab5d523 (diff) |
chain: Rename HaveTxsDownloaded to HaveNumChainTxs
Co-authored-by: MarcoFalke <falke.marco@gmail.com>
Diffstat (limited to 'src/chain.h')
-rw-r--r-- | src/chain.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/chain.h b/src/chain.h index 78b06719f4..4bf2001f74 100644 --- a/src/chain.h +++ b/src/chain.h @@ -280,10 +280,8 @@ public: * Note that this will be true for the snapshot base block, if one is loaded (and * all subsequent assumed-valid blocks) since its nChainTx value will have been set * manually based on the related AssumeutxoData entry. - * - * TODO: potentially change the name of this based on the fact above. */ - bool HaveTxsDownloaded() const { return nChainTx != 0; } + bool HaveNumChainTxs() const { return nChainTx != 0; } NodeSeconds Time() const { |