| 29 | } |
| 30 | |
| 31 | std::optional<CTxOut> CCoinControl::GetExternalOutput(const COutPoint& outpoint) const |
| 32 | { |
| 33 | const auto it = m_selected.find(outpoint); |
| 34 | if (it == m_selected.end() || !it->second.HasTxOut()) { |
| 35 | return std::nullopt; |
| 36 | } |
| 37 | return it->second.GetTxOut(); |
| 38 | } |
| 39 | |
| 40 | PreselectedInput& CCoinControl::Select(const COutPoint& outpoint) |
| 41 | { |
no test coverage detected