This commit is contained in:
jl777
2016-10-22 13:35:17 -03:00
parent 17878015bb
commit 7652ed92bd
3 changed files with 19 additions and 2 deletions

View File

@@ -2372,7 +2372,7 @@ Value listunspent(const Array& params, bool fHelp)
uint64_t interest;
if ( pindex != 0 )
{
interest = komodo_interest(out.tx->nHeight,nValue,out.tx->nLockTime,pindex->nTime);
interest = komodo_interest(pindex->nHeight,nValue,out.tx->nLockTime,pindex->nTime);
entry.push_back(Pair("interest",ValueFromAmount(interest)));
}
}