aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/consensus/params.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/consensus/params.h b/src/consensus/params.h
index 98c744149..250441b2e 100644
--- a/src/consensus/params.h
+++ b/src/consensus/params.h
@@ -82,8 +82,8 @@ struct Params {
/** Height-aware consensus parameters */
uint32_t nHeightEffective; // When these parameters come into use
- struct Params *pLeft; // Left hand branch
- struct Params *pRight; // Right hand branch
+ struct Params *pLeft = nullptr; // Left hand branch
+ struct Params *pRight = nullptr; // Right hand branch
const Consensus::Params *GetConsensus(uint32_t nTargetHeight) const;
};
} // namespace Consensus