| 1371 | } |
| 1372 | |
| 1373 | CAmount CWallet::GetChange(const CTxOut& txout) const |
| 1374 | { |
| 1375 | if (!MoneyRange(txout.nValue)) |
| 1376 | throw std::runtime_error(std::string(__func__) + ": value out of range"); |
| 1377 | return (IsChange(txout) ? txout.nValue : 0); |
| 1378 | } |
| 1379 | |
| 1380 | bool CWallet::IsMine(const CTransaction& tx) const |
| 1381 | { |
no test coverage detected