diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-10-02 09:47:53 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-10-02 09:47:54 +0200 |
commit | ad51e14583fbf6d53d5a2b22a0a0dbe4a51a9a7d (patch) | |
tree | 5371fd7c8eaaf0260db119f4d334bf8aab256087 /src/checkpoints.cpp | |
parent | 3b390723c16d13271ee2675aff013fdd95d39c18 (diff) | |
parent | 470590277782cce2fe73275c74523aef59a51eab (diff) | |
download | bitcoin-ad51e14583fbf6d53d5a2b22a0a0dbe4a51a9a7d.tar.xz |
Merge pull request #4845
4705902 Avoid introducing a virtual into CChainParams (Wladimir J. van der Laan)
5e2e7fc Suggested corrections on comments, variable names. Also new test case testing the PoW skip in UNITTEST. (SergioDemianLerner)
a25fd6b Switch testing framework from MAIN to new UNITTEST network (SergioDemianLerner)
Diffstat (limited to 'src/checkpoints.cpp')
-rw-r--r-- | src/checkpoints.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/checkpoints.cpp b/src/checkpoints.cpp index c41deea7ce..9a6bc05e63 100644 --- a/src/checkpoints.cpp +++ b/src/checkpoints.cpp @@ -88,6 +88,8 @@ namespace Checkpoints { return dataTestnet; else if (Params().NetworkID() == CBaseChainParams::MAIN) return data; + else if (Params().NetworkID() == CBaseChainParams::UNITTEST) // UnitTest share the same checkpoints as MAIN + return data; else return dataRegtest; } |