Possible fix for sapling CC
This commit is contained in:
@@ -1062,6 +1062,14 @@ uint64_t komodo_accrued_interest(int32_t *txheightp,uint32_t *locktimep,uint256
|
||||
return(0);
|
||||
}
|
||||
|
||||
int32_t komodo_nextheight()
|
||||
{
|
||||
int32_t longest = komodo_longestchain();
|
||||
if ( (pindex= chainActive.LastTip()) != 0 && (ht= pindex->GetHeight()) >= longest )
|
||||
return(ht+1);
|
||||
else return(longest + 1);
|
||||
}
|
||||
|
||||
int32_t komodo_isrealtime(int32_t *kmdheightp)
|
||||
{
|
||||
struct komodo_state *sp; CBlockIndex *pindex;
|
||||
|
||||
Reference in New Issue
Block a user