| 120 | } |
| 121 | |
| 122 | CAmount CachedTxGetDebit(const CWallet& wallet, const CWalletTx& wtx, bool avoid_reuse) |
| 123 | { |
| 124 | if (wtx.tx->vin.empty()) |
| 125 | return 0; |
| 126 | |
| 127 | return GetCachableAmount(wallet, wtx, CWalletTx::DEBIT, avoid_reuse); |
| 128 | } |
| 129 | |
| 130 | CAmount CachedTxGetChange(const CWallet& wallet, const CWalletTx& wtx) |
| 131 | { |
no test coverage detected