@@ -106,7 +106,7 @@ static CMutableTransaction CreateProRegTx(const CChain& active_chain, const CTxM
106106 operatorKeyRet.MakeNewKey ();
107107
108108 CProRegTx proTx;
109- proTx.nVersion = ProTxVersion::GetMax (!bls::bls_legacy_scheme);
109+ proTx.nVersion = ProTxVersion::GetMax (!bls::bls_legacy_scheme, /* is_extended_addr= */ false );
110110 proTx.netInfo = NetInfoInterface::MakeNetInfo (proTx.nVersion );
111111 proTx.collateralOutpoint .n = 0 ;
112112 BOOST_CHECK_EQUAL (proTx.netInfo ->AddEntry (strprintf (" 1.1.1.1:%d" , port)), NetInfoStatus::Success);
@@ -129,7 +129,7 @@ static CMutableTransaction CreateProRegTx(const CChain& active_chain, const CTxM
129129static CMutableTransaction CreateProUpServTx (const CChain& active_chain, const CTxMemPool& mempool, SimpleUTXOMap& utxos, const uint256& proTxHash, const CBLSSecretKey& operatorKey, int port, const CScript& scriptOperatorPayout, const CKey& coinbaseKey)
130130{
131131 CProUpServTx proTx;
132- proTx.nVersion = ProTxVersion::GetMax (!bls::bls_legacy_scheme);
132+ proTx.nVersion = ProTxVersion::GetMax (!bls::bls_legacy_scheme, /* is_extended_addr= */ false );
133133 proTx.netInfo = NetInfoInterface::MakeNetInfo (proTx.nVersion );
134134 proTx.proTxHash = proTxHash;
135135 BOOST_CHECK_EQUAL (proTx.netInfo ->AddEntry (strprintf (" 1.1.1.1:%d" , port)), NetInfoStatus::Success);
@@ -150,7 +150,7 @@ static CMutableTransaction CreateProUpServTx(const CChain& active_chain, const C
150150static CMutableTransaction CreateProUpRegTx (const CChain& active_chain, const CTxMemPool& mempool, SimpleUTXOMap& utxos, const uint256& proTxHash, const CKey& mnKey, const CBLSPublicKey& pubKeyOperator, const CKeyID& keyIDVoting, const CScript& scriptPayout, const CKey& coinbaseKey)
151151{
152152 CProUpRegTx proTx;
153- proTx.nVersion = ProTxVersion::GetMax (!bls::bls_legacy_scheme);
153+ proTx.nVersion = ProTxVersion::GetMax (!bls::bls_legacy_scheme, /* is_extended_addr= */ false );
154154 proTx.proTxHash = proTxHash;
155155 proTx.pubKeyOperator .Set (pubKeyOperator, bls::bls_legacy_scheme.load ());
156156 proTx.keyIDVoting = keyIDVoting;
@@ -171,7 +171,7 @@ static CMutableTransaction CreateProUpRegTx(const CChain& active_chain, const CT
171171static CMutableTransaction CreateProUpRevTx (const CChain& active_chain, const CTxMemPool& mempool, SimpleUTXOMap& utxos, const uint256& proTxHash, const CBLSSecretKey& operatorKey, const CKey& coinbaseKey)
172172{
173173 CProUpRevTx proTx;
174- proTx.nVersion = ProTxVersion::GetMax (!bls::bls_legacy_scheme);
174+ proTx.nVersion = ProTxVersion::GetMax (!bls::bls_legacy_scheme, /* is_extended_addr= */ false );
175175 proTx.proTxHash = proTxHash;
176176
177177 CMutableTransaction tx;
@@ -640,7 +640,7 @@ void FuncTestMempoolReorg(TestChainSetup& setup)
640640 BOOST_CHECK_EQUAL (block->GetHash (), chainman.ActiveChain ().Tip ()->GetBlockHash ());
641641
642642 CProRegTx payload;
643- payload.nVersion = ProTxVersion::GetMax (!bls::bls_legacy_scheme);
643+ payload.nVersion = ProTxVersion::GetMax (!bls::bls_legacy_scheme, /* is_extended_addr= */ false );
644644 payload.netInfo = NetInfoInterface::MakeNetInfo (payload.nVersion );
645645 BOOST_CHECK_EQUAL (payload.netInfo ->AddEntry (" 1.1.1.1:1" ), NetInfoStatus::Success);
646646 payload.keyIDOwner = ownerKey.GetPubKey ().GetID ();
@@ -716,7 +716,7 @@ void FuncTestMempoolDualProregtx(TestChainSetup& setup)
716716 auto scriptPayout = GetScriptForDestination (PKHash (payoutKey.GetPubKey ()));
717717
718718 CProRegTx payload;
719- payload.nVersion = ProTxVersion::GetMax (!bls::bls_legacy_scheme);
719+ payload.nVersion = ProTxVersion::GetMax (!bls::bls_legacy_scheme, /* is_extended_addr= */ false );
720720 payload.netInfo = NetInfoInterface::MakeNetInfo (payload.nVersion );
721721 BOOST_CHECK_EQUAL (payload.netInfo ->AddEntry (" 1.1.1.1:2" ), NetInfoStatus::Success);
722722 payload.keyIDOwner = ownerKey.GetPubKey ().GetID ();
@@ -785,7 +785,7 @@ void FuncVerifyDB(TestChainSetup& setup)
785785 BOOST_CHECK_EQUAL (block->GetHash (), chainman.ActiveChain ().Tip ()->GetBlockHash ());
786786
787787 CProRegTx payload;
788- payload.nVersion = ProTxVersion::GetMax (!bls::bls_legacy_scheme);
788+ payload.nVersion = ProTxVersion::GetMax (!bls::bls_legacy_scheme, /* is_extended_addr= */ false );
789789 payload.netInfo = NetInfoInterface::MakeNetInfo (payload.nVersion );
790790 BOOST_CHECK_EQUAL (payload.netInfo ->AddEntry (" 1.1.1.1:1" ), NetInfoStatus::Success);
791791 payload.keyIDOwner = ownerKey.GetPubKey ().GetID ();
0 commit comments