diff options
| author | Gavin Andresen <[email protected]> | 2013-11-11 16:03:51 +1000 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-11-30 15:42:10 +1000 |
| commit | 0733c1bde69c6ccfe593d2eec775d0ae32fe7140 (patch) | |
| tree | 05a186706a752322ad057188c5660687162b2246 /src/wallet.cpp | |
| parent | Remove dead transaction replacement code (diff) | |
| download | discoin-0733c1bde69c6ccfe593d2eec775d0ae32fe7140.tar.xz discoin-0733c1bde69c6ccfe593d2eec775d0ae32fe7140.zip | |
Refactor: move GetValueIn(tx) to tx.GetValueIn()
GetValueIn makes more sense as a CTransaction member.
Diffstat (limited to 'src/wallet.cpp')
| -rw-r--r-- | src/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp index db957cbd0..46d6cc566 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -655,7 +655,7 @@ void CWalletTx::GetAmounts(list<pair<CTxDestination, int64_t> >& listReceived, int64_t nDebit = GetDebit(); if (nDebit > 0) // debit>0 means we signed/sent this transaction { - int64_t nValueOut = GetValueOut(*this); + int64_t nValueOut = GetValueOut(); nFee = nDebit - nValueOut; } |