Relocate ECC_Start() to avoid test failures.
This commit is contained in:
@@ -93,7 +93,6 @@ public:
|
|||||||
// Note that the zpd: prefix is not part of the payment disclosure blob itself. It is only
|
// Note that the zpd: prefix is not part of the payment disclosure blob itself. It is only
|
||||||
// used as convention to improve the user experience when sharing payment disclosure blobs.
|
// used as convention to improve the user experience when sharing payment disclosure blobs.
|
||||||
TEST(paymentdisclosure, mainnet) {
|
TEST(paymentdisclosure, mainnet) {
|
||||||
ECC_Start();
|
|
||||||
SelectParams(CBaseChainParams::MAIN);
|
SelectParams(CBaseChainParams::MAIN);
|
||||||
|
|
||||||
boost::filesystem::path pathTemp = boost::filesystem::temp_directory_path() / boost::filesystem::unique_path();
|
boost::filesystem::path pathTemp = boost::filesystem::temp_directory_path() / boost::filesystem::unique_path();
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ static const std::string tSecretRegtest = "cND2ZvtabDbJ1gucx9GWH6XT9kgTAqfb6cotP
|
|||||||
|
|
||||||
TEST(TransactionBuilder, Invoke)
|
TEST(TransactionBuilder, Invoke)
|
||||||
{
|
{
|
||||||
|
ECC_Start();
|
||||||
|
|
||||||
SelectParams(CBaseChainParams::REGTEST);
|
SelectParams(CBaseChainParams::REGTEST);
|
||||||
UpdateNetworkUpgradeParameters(Consensus::UPGRADE_OVERWINTER, Consensus::NetworkUpgrade::ALWAYS_ACTIVE);
|
UpdateNetworkUpgradeParameters(Consensus::UPGRADE_OVERWINTER, Consensus::NetworkUpgrade::ALWAYS_ACTIVE);
|
||||||
UpdateNetworkUpgradeParameters(Consensus::UPGRADE_SAPLING, Consensus::NetworkUpgrade::ALWAYS_ACTIVE);
|
UpdateNetworkUpgradeParameters(Consensus::UPGRADE_SAPLING, Consensus::NetworkUpgrade::ALWAYS_ACTIVE);
|
||||||
|
|||||||
Reference in New Issue
Block a user