-komodo_interestsum() for non-KMD

This commit is contained in:
jl777
2018-11-08 19:42:44 -11:00
parent c0a342250e
commit b7a556e838
3 changed files with 4 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ void WaitForShutdown(boost::thread_group* threadGroup)
}
else
{
komodo_interestsum();
//komodo_interestsum();
komodo_longestchain();
MilliSleep(20000);
}

View File

@@ -1380,7 +1380,8 @@ void komodo_passport_iteration()
}
if ( komodo_chainactive_timestamp() > lastinterest )
{
komodo_interestsum();
if ( ASSETCHAINS_SYMBOL[0] == 0 )
komodo_interestsum();
komodo_longestchain();
lastinterest = komodo_chainactive_timestamp();
}

View File

@@ -2750,7 +2750,7 @@ UniValue listunspent(const UniValue& params, bool fHelp)
uint64_t komodo_interestsum()
{
#ifdef ENABLE_WALLET
if ( GetBoolArg("-disablewallet", false) == 0 )
if ( ASSETCHAINS_SYMBOL[0] == 0 && GetBoolArg("-disablewallet", false) == 0 )
{
uint64_t interest,sum = 0; int32_t txheight; uint32_t locktime;
vector<COutput> vecOutputs;