diff options
| author | Ross Nicoll <[email protected]> | 2015-07-09 22:06:41 +0100 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2015-07-19 16:42:22 +0000 |
| commit | 949b1ccd88ff13c74a3c1a7b9faa7f36c1085904 (patch) | |
| tree | 378278514e847511b46e5f8d67fd6e3a61e80fe7 /src/test/alert_tests.cpp | |
| parent | Merge pull request #1200 from rnicoll/1.10-auxpow-clean (diff) | |
| download | discoin-949b1ccd88ff13c74a3c1a7b9faa7f36c1085904.tar.xz discoin-949b1ccd88ff13c74a3c1a7b9faa7f36c1085904.zip | |
Modify chain consensus parameters to be height aware
Diffstat (limited to 'src/test/alert_tests.cpp')
| -rw-r--r-- | src/test/alert_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/alert_tests.cpp b/src/test/alert_tests.cpp index 0eda2ca1a..915326d4c 100644 --- a/src/test/alert_tests.cpp +++ b/src/test/alert_tests.cpp @@ -203,7 +203,7 @@ BOOST_AUTO_TEST_CASE(PartitionAlert) CCriticalSection csDummy; CBlockIndex indexDummy[800]; CChainParams& params = Params(CBaseChainParams::MAIN); - int64_t nPowTargetSpacing = params.GetConsensus().nPowTargetSpacing; + int64_t nPowTargetSpacing = params.GetConsensus(0).nPowTargetSpacing; // Generate fake blockchain timestamps relative to // an arbitrary time: |