Fix some compile issues and set a timestamp fork value for completeness

This commit is contained in:
Duke Leto
2019-12-22 03:13:14 -05:00
parent d837ed7358
commit f07dcf12ab
2 changed files with 5 additions and 5 deletions

View File

@@ -707,7 +707,7 @@ bool hush_hardfork_active(uint32_t time)
{
//This allows simulating a different height via CLI option, with hardcoded height as default
uint32_t nHardForkHeight = GetArg("-hardfork-height", nHushHardforkHeight);
bool isactive = chainActive.Height() > nHardforkHeight;
bool isactive = chainActive.Height() > nHardForkHeight;
fprintf(stderr, "%s: active=%d at height=%d and forkheigt=%d\n", __FUNCTION__, (int)isactive, chainActive.Height(), nHardForkHeight);
return isactive;
}