|
|
@ -2213,7 +2213,7 @@ void CWallet::AvailableCoins(vector<COutput>& vCoins, bool fOnlyConfirmed, const |
|
|
|
if ( pcoin->vout[i].nValue >= COIN ) |
|
|
|
{ |
|
|
|
interest = komodo_interest(chainActive.Tip()->nHeight+1,pcoin->vout[i].nValue,pcoin->nLockTime,chainActive.Tip()->nTime); |
|
|
|
if ( interest != 0 && pcoin->vout[i].addedinterest == 0 ) |
|
|
|
if ( interest != 0 && pcoin->vout[i].interest == 0 ) |
|
|
|
{ |
|
|
|
printf("wallet nValueRet %.8f += interest %.8f ht.%d lock.%u tip.%u\n",(double)pcoin->vout[i].nValue/COIN,(double)interest/COIN,chainActive.Tip()->nHeight+1,pcoin->nLockTime,chainActive.Tip()->nTime); |
|
|
|
fprintf(stderr,"wallet nValueRet %.8f += interest %.8f ht.%d lock.%u tip.%u\n",(double)pcoin->vout[i].nValue/COIN,(double)interest/COIN,chainActive.Tip()->nHeight+1,pcoin->nLockTime,chainActive.Tip()->nTime); |
|
|
|