diff options
| author | Ross Nicoll <[email protected]> | 2019-04-23 04:27:09 +0000 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2019-04-28 12:22:13 -0700 |
| commit | e6719497b723ee0ac844fb16c52a3b68d637c31e (patch) | |
| tree | 5f3d3270a51e2e22476c17dae08e0caa828b0d07 | |
| parent | Replace test data with Dogecoin values (diff) | |
| download | discoin-e6719497b723ee0ac844fb16c52a3b68d637c31e.tar.xz discoin-e6719497b723ee0ac844fb16c52a3b68d637c31e.zip | |
Correct build and test net seed
* Correct the test case from 100 blocks to 240
* Remove incorrect ", true" in testnet seed configuration
| -rw-r--r-- | src/chainparams.cpp | 2 | ||||
| -rw-r--r-- | src/wallet/test/wallet_tests.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 67c6ac5b2..830dd2f91 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -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); diff --git a/src/wallet/test/wallet_tests.cpp b/src/wallet/test/wallet_tests.cpp index d5b8ff992..fb60ccc4e 100644 --- a/src/wallet/test/wallet_tests.cpp +++ b/src/wallet/test/wallet_tests.cpp @@ -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); |