-komodo_interestsum() for non-KMD
This commit is contained in:
@@ -62,7 +62,7 @@ void WaitForShutdown(boost::thread_group* threadGroup)
|
||||
}
|
||||
else
|
||||
{
|
||||
komodo_interestsum();
|
||||
//komodo_interestsum();
|
||||
komodo_longestchain();
|
||||
MilliSleep(20000);
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user