@@ -814,43 +814,46 @@ void FuncVerifyDB(TestChainSetup& setup)
814814
815815BOOST_AUTO_TEST_SUITE (evo_dip3_activation_tests)
816816
817- struct TestChainDIP3BeforeActivationSetup : public TestChainSetup
818- {
819-     TestChainDIP3BeforeActivationSetup () : TestChainSetup (430 ) {}
817+ struct TestChainDIP3BeforeActivationSetup : public TestChainSetup {
818+     TestChainDIP3BeforeActivationSetup () :
819+         TestChainSetup (430 )
820+     {
821+     }
820822};
821823
822- struct  TestChainDIP3Setup  : public  TestChainDIP3BeforeActivationSetup 
823- {
824+ struct  TestChainDIP3Setup  : public  TestChainDIP3BeforeActivationSetup  {
824825    TestChainDIP3Setup ()
825826    {
826827        //  Activate DIP3 here
827828        CreateAndProcessBlock ({}, coinbaseKey);
828829    }
829830};
830831
831- struct  TestChainV19BeforeActivationSetup  : public  TestChainSetup 
832- {
832+ struct  TestChainV19BeforeActivationSetup  : public  TestChainSetup  {
833833    TestChainV19BeforeActivationSetup ();
834834};
835835
836- struct  TestChainV19Setup  : public  TestChainV19BeforeActivationSetup 
837- {
836+ struct  TestChainV19Setup  : public  TestChainV19BeforeActivationSetup  {
838837    TestChainV19Setup ()
839838    {
840839        //  Activate V19
841840        for  (int  i = 0 ; i < 5 ; ++i) {
842841            CreateAndProcessBlock ({}, coinbaseKey);
843842        }
844-         bool  v19_just_activated{DeploymentActiveAfter (m_node.chainman ->ActiveChain ().Tip (), Params ().GetConsensus (), Consensus::DEPLOYMENT_V19) &&
845-                                 !DeploymentActiveAt (*m_node.chainman ->ActiveChain ().Tip (), Params ().GetConsensus (), Consensus::DEPLOYMENT_V19)};
843+         bool  v19_just_activated{DeploymentActiveAfter (m_node.chainman ->ActiveChain ().Tip (), Params ().GetConsensus (),
844+                                                       Consensus::DEPLOYMENT_V19) &&
845+                                 !DeploymentActiveAt (*m_node.chainman ->ActiveChain ().Tip (), Params ().GetConsensus (),
846+                                                     Consensus::DEPLOYMENT_V19)};
846847        assert (v19_just_activated);
847848    }
848849};
849850
850851//  5 blocks earlier
851- TestChainV19BeforeActivationSetup::TestChainV19BeforeActivationSetup () : TestChainSetup(894 )
852+ TestChainV19BeforeActivationSetup::TestChainV19BeforeActivationSetup () :
853+     TestChainSetup(894 )
852854{
853-     bool  v19_active{DeploymentActiveAfter (m_node.chainman ->ActiveChain ().Tip (), Params ().GetConsensus (), Consensus::DEPLOYMENT_V19)};
855+     bool  v19_active{DeploymentActiveAfter (m_node.chainman ->ActiveChain ().Tip (), Params ().GetConsensus (),
856+                                           Consensus::DEPLOYMENT_V19)};
854857    assert (!v19_active);
855858}
856859
0 commit comments