mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-23 20:38:07 +01:00
Merge pull request #2876 from sipa/fixreorgcrash
Fix reorganization crash
This commit is contained in:
@@ -101,4 +101,8 @@ inline bool TestNet() {
|
||||
return Params().NetworkID() == CChainParams::TESTNET;
|
||||
}
|
||||
|
||||
inline bool RegTest() {
|
||||
return Params().NetworkID() == CChainParams::REGTEST;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user