- function call
This commit is contained in:
@@ -352,8 +352,9 @@ namespace {
|
|||||||
|
|
||||||
int GetHeight()
|
int GetHeight()
|
||||||
{
|
{
|
||||||
if ( chainActive.LastTip() != 0 )
|
CBlockIndex *pindex;
|
||||||
return chainActive.LastTip()->GetHeight();
|
if ( (pindex= chainActive.LastTip()) != 0 )
|
||||||
|
return pindex->GetHeight();
|
||||||
else return(-1);
|
else return(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user