| 1700 | } |
| 1701 | |
| 1702 | bool CWallet::IsFromMe(const CTransaction& tx) const |
| 1703 | { |
| 1704 | LOCK(cs_wallet); |
| 1705 | for (const CTxIn& txin : tx.vin) { |
| 1706 | if (GetTXO(txin.prevout)) return true; |
| 1707 | } |
| 1708 | return false; |
| 1709 | } |
| 1710 | |
| 1711 | CAmount CWallet::GetDebit(const CTransaction& tx) const |
| 1712 | { |
no outgoing calls
no test coverage detected