Update getinfo cached for asset chains
This commit is contained in:
@@ -1340,6 +1340,7 @@ void komodo_passport_iteration()
|
|||||||
if ( komodo_chainactive_timestamp() > lastinterest )
|
if ( komodo_chainactive_timestamp() > lastinterest )
|
||||||
{
|
{
|
||||||
komodo_interestsum();
|
komodo_interestsum();
|
||||||
|
komodo_paxtotal(); // calls komodo_isrealtime(), which calls komodo_longestchain()
|
||||||
lastinterest = komodo_chainactive_timestamp();
|
lastinterest = komodo_chainactive_timestamp();
|
||||||
}
|
}
|
||||||
refsp = komodo_stateptr(symbol,dest);
|
refsp = komodo_stateptr(symbol,dest);
|
||||||
@@ -1468,7 +1469,7 @@ void komodo_passport_iteration()
|
|||||||
if ( sp != 0 && isrealtime == 0 )
|
if ( sp != 0 && isrealtime == 0 )
|
||||||
refsp->RTbufs[0][2] = 0;
|
refsp->RTbufs[0][2] = 0;
|
||||||
}
|
}
|
||||||
komodo_paxtotal(); // calls komodo_isrealtime(), which calls komodo_longestchain()
|
//komodo_paxtotal(); // calls komodo_isrealtime(), which calls komodo_longestchain()
|
||||||
refsp->RTmask |= RTmask;
|
refsp->RTmask |= RTmask;
|
||||||
if ( expired == 0 && KOMODO_PASSPORT_INITDONE == 0 )
|
if ( expired == 0 && KOMODO_PASSPORT_INITDONE == 0 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user