From 32885e742213826e02d8d4791d7e6156e2942ffc Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 26 Apr 2018 23:09:53 +0300 Subject: [PATCH] Update getinfo cached for asset chains --- src/komodo_gateway.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 5819529c1..677fca916 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -1340,6 +1340,7 @@ void komodo_passport_iteration() if ( komodo_chainactive_timestamp() > lastinterest ) { komodo_interestsum(); + komodo_paxtotal(); // calls komodo_isrealtime(), which calls komodo_longestchain() lastinterest = komodo_chainactive_timestamp(); } refsp = komodo_stateptr(symbol,dest); @@ -1468,7 +1469,7 @@ void komodo_passport_iteration() if ( sp != 0 && isrealtime == 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; if ( expired == 0 && KOMODO_PASSPORT_INITDONE == 0 ) {