aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/coinselection.h
diff options
context:
space:
mode:
authorS3RK <1466284+S3RK@users.noreply.github.com>2022-07-06 09:03:01 +0200
committerS3RK <1466284+S3RK@users.noreply.github.com>2022-08-15 09:35:20 +0200
commit4fef5344288e454460b80db0316294e1ec1ad8ad (patch)
tree4447dc2f7a1bf4718c55cc082e2d0ee52cfaae91 /src/wallet/coinselection.h
parent87e0ef903133492e76b7c7556209554d4a0c3d66 (diff)
wallet: use GetChange() when computing waste
Diffstat (limited to 'src/wallet/coinselection.h')
-rw-r--r--src/wallet/coinselection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/coinselection.h b/src/wallet/coinselection.h
index dd52241e2a..761c2be0b3 100644
--- a/src/wallet/coinselection.h
+++ b/src/wallet/coinselection.h
@@ -310,7 +310,7 @@ public:
void AddInput(const OutputGroup& group);
/** Calculates and stores the waste for this selection via GetSelectionWaste */
- void ComputeAndSetWaste(CAmount change_cost);
+ void ComputeAndSetWaste(const CAmount min_viable_change, const CAmount change_cost, const CAmount change_fee);
[[nodiscard]] CAmount GetWaste() const;
void Merge(const SelectionResult& other);