{
QList<TransactionRecord> parts;
int64 nTime = wtx.GetTxTime();
- int64 nCredit = wtx.GetCredit(true);
+ int64 nCredit = wtx.GetCredit(false,true);
int64 nDebit = wtx.GetDebit();
int64 nNet = nCredit - nDebit;
uint256 hash = wtx.GetHash(), hashPrev = 0;
// For generated transactions, determine maturity
if(type == TransactionRecord::Generated)
{
- int64 nCredit = wtx.GetCredit(true);
+ int64 nCredit = wtx.GetCredit(false,true);
if (nCredit == 0)
{
status.maturity = TransactionStatus::Immature;