Remove unnecessary staking delay

This commit is contained in:
Michael Toutonghi
2018-08-09 17:09:09 -07:00
parent 0ba2065183
commit 049e890a79
2 changed files with 1 additions and 17 deletions

View File

@@ -760,7 +760,7 @@ uint32_t komodo_chainactive_timestamp()
CBlockIndex *komodo_chainactive(int32_t height)
{
if ( chainActive.Tip() != 0 )
if ( chainActive.LastTip() != 0 )
{
if ( height <= chainActive.LastTip()->nHeight )
return(chainActive[height]);