From e6b63d1f784ea019568fea0ad6a1ec12d522812c Mon Sep 17 00:00:00 2001 From: Eirik Ogilvie-Wigley Date: Mon, 29 Jul 2019 19:05:41 -0600 Subject: [PATCH] Use static_assert --- src/consensus/params.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/consensus/params.h b/src/consensus/params.h index 764b0efd4..a3657da61 100644 --- a/src/consensus/params.h +++ b/src/consensus/params.h @@ -64,7 +64,7 @@ struct NetworkUpgrade { /** ZIP208 block target interval in seconds. */ static const unsigned int PRE_BLOSSOM_POW_TARGET_SPACING = 150; static const unsigned int POST_BLOSSOM_POW_TARGET_SPACING = 75; -BOOST_STATIC_ASSERT(POST_BLOSSOM_POW_TARGET_SPACING < PRE_BLOSSOM_POW_TARGET_SPACING); +static_assert(POST_BLOSSOM_POW_TARGET_SPACING < PRE_BLOSSOM_POW_TARGET_SPACING); static const unsigned int PRE_BLOSSOM_HALVING_INTERVAL = 840000; static const unsigned int PRE_BLOSSOM_REGTEST_HALVING_INTERVAL = 150; static const unsigned int BLOSSOM_POW_TARGET_SPACING_RATIO = PRE_BLOSSOM_POW_TARGET_SPACING / POST_BLOSSOM_POW_TARGET_SPACING;