diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp index 3286de865c1..a69c94027a8 100644 --- a/src/bitcoin-tx.cpp +++ b/src/bitcoin-tx.cpp @@ -853,7 +853,7 @@ static int CommandLineRawTx(int argc, char* argv[]) if (serialization == "ELEMENTS") { g_con_elementsmode = true; } else if (serialization == "BITCOIN") { - g_con_elementsmode = false; + g_con_elementsmode = true; } else { PrintExceptionContinue(nullptr, "Invalid serialization argument"); throw; diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 2e1df324946..884b21f695a 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -134,7 +134,7 @@ class CMainParams : public CChainParams { multi_data_permitted = false; consensus.has_parent_chain = false; g_signed_blocks = false; - g_con_elementsmode = false; + g_con_elementsmode = true; g_con_blockheightinheader = false; consensus.total_valid_epochs = 0; consensus.elements_mode = g_con_elementsmode; @@ -261,7 +261,7 @@ class CTestNetParams : public CChainParams { multi_data_permitted = false; consensus.has_parent_chain = false; g_signed_blocks = false; - g_con_elementsmode = false; + g_con_elementsmode = true; g_con_blockheightinheader = false; consensus.total_valid_epochs = 0; consensus.elements_mode = g_con_elementsmode; @@ -408,7 +408,7 @@ class SigNetParams : public CChainParams { multi_data_permitted = false; consensus.has_parent_chain = false; g_signed_blocks = false; // lol - g_con_elementsmode = false; + g_con_elementsmode = true; g_con_blockheightinheader = false; consensus.total_valid_epochs = 0; consensus.elements_mode = g_con_elementsmode; @@ -492,7 +492,7 @@ class CRegTestParams : public CChainParams { multi_data_permitted = false; consensus.has_parent_chain = false; g_signed_blocks = false; - g_con_elementsmode = false; + g_con_elementsmode = true; consensus.elements_mode = g_con_elementsmode; g_con_blockheightinheader = false; consensus.total_valid_epochs = 0; diff --git a/src/primitives/transaction.cpp b/src/primitives/transaction.cpp index f8ee7595248..5d256441e9d 100644 --- a/src/primitives/transaction.cpp +++ b/src/primitives/transaction.cpp @@ -11,7 +11,7 @@ #include -bool g_con_elementsmode = false; +bool g_con_elementsmode = true; std::string COutPoint::ToString() const {