This commit is contained in:
jl777
2017-03-21 21:06:04 +02:00
parent 74a1cd7aa8
commit ab00f04a85

View File

@@ -728,7 +728,7 @@ int32_t komodo_grandfathered(uint32_t locktime)
if ( locktime <= grandfathered[sizeof(grandfathered)/sizeof(*grandfathered) - 1] )
{
for (i=0; i<sizeof(grandfathered)/sizeof(*grandfathered); i++)
if ( nBlockTime == grandfathered[i] )
if ( locktime == grandfathered[i] )
return(i);
}
return(-1);