diff options
Diffstat (limited to 'src/wallet/coinselection.h')
-rw-r--r-- | src/wallet/coinselection.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/coinselection.h b/src/wallet/coinselection.h index 056b1bce54..2c9a517485 100644 --- a/src/wallet/coinselection.h +++ b/src/wallet/coinselection.h @@ -199,6 +199,7 @@ struct OutputGroup struct SelectionResult { +private: /** Set of inputs selected by the algorithm to use in the transaction */ std::set<CInputCoin> m_selected_inputs; /** The target the algorithm selected for. Note that this may not be equal to the recipient amount as it can include non-input fees */ @@ -208,6 +209,7 @@ struct SelectionResult /** The computed waste */ std::optional<CAmount> m_waste; +public: explicit SelectionResult(const CAmount target) : m_target(target) {} |