Correct build and test net seed

* Correct the test case from 100 blocks to 240
* Remove incorrect ", true" in testnet seed configuration
This commit is contained in:
Ross Nicoll 2019-04-23 04:27:09 +00:00 committed by Ross Nicoll
parent 8ef665d5e4
commit e6719497b7
2 changed files with 2 additions and 2 deletions

View file

@ -237,7 +237,7 @@ public:
vFixedSeeds.clear();
vSeeds.clear();
// nodes with support for servicebits filtering should be at the top
vSeeds.emplace_back("testseed.jrn.me.uk", true);
vSeeds.emplace_back("testseed.jrn.me.uk");
base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,113);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,196);

View file

@ -415,7 +415,7 @@ static size_t CalculateNestedKeyhashInputSize(bool use_max_sig)
return (size_t)GetVirtualTransactionInputSize(tx_in);
}
BOOST_FIXTURE_TEST_CASE(dummy_input_size_test, TestChain100Setup)
BOOST_FIXTURE_TEST_CASE(dummy_input_size_test, TestChain240Setup)
{
BOOST_CHECK_EQUAL(CalculateNestedKeyhashInputSize(false), DUMMY_NESTED_P2WPKH_INPUT_SIZE);
BOOST_CHECK_EQUAL(CalculateNestedKeyhashInputSize(true), DUMMY_NESTED_P2WPKH_INPUT_SIZE);