|
|
@ -33,7 +33,7 @@ bool TransactionRecord::showTransaction(const CWalletTx &wtx)
|
|
|
|
QList<TransactionRecord> TransactionRecord::decomposeTransaction(const CWallet *wallet, const CWalletTx &wtx)
|
|
|
|
QList<TransactionRecord> TransactionRecord::decomposeTransaction(const CWallet *wallet, const CWalletTx &wtx)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
QList<TransactionRecord> parts;
|
|
|
|
QList<TransactionRecord> parts;
|
|
|
|
int64 nTime = wtx.nTimeDisplayed = wtx.GetTxTime();
|
|
|
|
int64 nTime = wtx.GetTxTime();
|
|
|
|
int64 nCredit = wtx.GetCredit(true);
|
|
|
|
int64 nCredit = wtx.GetCredit(true);
|
|
|
|
int64 nDebit = wtx.GetDebit();
|
|
|
|
int64 nDebit = wtx.GetDebit();
|
|
|
|
int64 nNet = nCredit - nDebit;
|
|
|
|
int64 nNet = nCredit - nDebit;
|
|
|
|