Merge pull request #2876 from sipa/fixreorgcrash

Fix reorganization crash
This commit is contained in:
Gavin Andresen
2013-08-15 18:51:06 -07:00
4 changed files with 61 additions and 8 deletions

View File

@@ -101,4 +101,8 @@ inline bool TestNet() {
return Params().NetworkID() == CChainParams::TESTNET;
}
inline bool RegTest() {
return Params().NetworkID() == CChainParams::REGTEST;
}
#endif