diff options
author | JaSK <temp@temp.temp> | 2014-06-20 05:02:14 +0200 |
---|---|---|
committer | JaSK <temp@temp.temp> | 2014-07-02 15:48:40 +0200 |
commit | 519dd1c89afa2b7d0f2720eb70cd11de23d61006 (patch) | |
tree | 56051a7e5b4b3476d9cf36098dcab57fdf5c099e /src/qt/transactionrecord.cpp | |
parent | 23b0506c91020f69092389cf8b25576dcdf4e17e (diff) |
Added MINE_ALL = (spendable|watchonly)
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 cce2fa3f81..08092a5f1f 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(MINE_SPENDABLE|MINE_WATCH_ONLY); + int64_t nDebit = wtx.GetDebit(MINE_ALL); int64_t nNet = nCredit - nDebit; uint256 hash = wtx.GetHash(); std::map<std::string, std::string> mapValue = wtx.mapValue; |