- function call

This commit is contained in:
jl777
2019-07-02 01:39:54 -11:00
parent 1e80fc44ec
commit ce86a489eb

View File

@@ -352,8 +352,9 @@ namespace {
int GetHeight()
{
if ( chainActive.LastTip() != 0 )
return chainActive.LastTip()->GetHeight();
CBlockIndex *pindex;
if ( (pindex= chainActive.LastTip()) != 0 )
return pindex->GetHeight();
else return(-1);
}