| 581 | } |
| 582 | |
| 583 | CAmountMap SelectionResult::GetSelectedValue() const |
| 584 | { |
| 585 | return std::accumulate(m_selected_inputs.cbegin(), m_selected_inputs.cend(), CAmountMap{}, [](CAmountMap sum, const auto& coin) { return sum + CAmountMap{{coin.asset, coin.value}}; }); |
| 586 | } |
| 587 | |
| 588 | void SelectionResult::Clear() |
| 589 | { |