diff options
| author | JaSK <[email protected]> | 2014-06-19 15:24:17 +0200 |
|---|---|---|
| committer | JaSK <[email protected]> | 2014-07-02 15:48:39 +0200 |
| commit | 80dda36a07d09f99be861fa5271d0da5bd4f07dc (patch) | |
| tree | 0ffa87d19657848e874dceed4c0c4df40b98f1b2 /src/qt/transactionrecord.cpp | |
| parent | Use script matching rather than destination matching for watch-only. (diff) | |
| download | discoin-80dda36a07d09f99be861fa5271d0da5bd4f07dc.tar.xz discoin-80dda36a07d09f99be861fa5271d0da5bd4f07dc.zip | |
removed default argument values for ismine filter
Diffstat (limited to 'src/qt/transactionrecord.cpp')
| -rw-r--r-- | src/qt/transactionrecord.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/transactionrecord.cpp b/src/qt/transactionrecord.cpp index 1011363f3..49916fed5 100644 --- a/src/qt/transactionrecord.cpp +++ b/src/qt/transactionrecord.cpp @@ -33,7 +33,7 @@ QList<TransactionRecord> TransactionRecord::decomposeTransaction(const CWallet * QList<TransactionRecord> parts; int64_t nTime = wtx.GetTxTime(); int64_t nCredit = wtx.GetCredit(true); - int64_t nDebit = wtx.GetDebit(); + int64_t nDebit = wtx.GetDebit(MINE_SPENDABLE|MINE_WATCH_ONLY); int64_t nNet = nCredit - nDebit; uint256 hash = wtx.GetHash(); std::map<std::string, std::string> mapValue = wtx.mapValue; |