diff options
author | furszy <matiasfurszyfer@protonmail.com> | 2023-03-08 19:03:40 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2023-03-08 19:03:40 -0300 |
commit | 475c20aa568d597c7850c784058596ae26f37496 (patch) | |
tree | 755eecdd81145916798d6ea17848510ba5e3a9c3 /src/wallet/spend.h | |
parent | 8a5583131ce78cd748e2279eb9331321e4ef2aa3 (diff) | |
download | bitcoin-475c20aa568d597c7850c784058596ae26f37496.tar.xz |
wallet: remove coin control arg from AutomaticCoinSelection
we only need the "include unsafe" flag, not all what coin
control stores.
Diffstat (limited to 'src/wallet/spend.h')
-rw-r--r-- | src/wallet/spend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/spend.h b/src/wallet/spend.h index b8bc82db7a..78c2c5f22b 100644 --- a/src/wallet/spend.h +++ b/src/wallet/spend.h @@ -191,7 +191,7 @@ util::Result<PreSelectedInputs> FetchSelectedInputs(const CWallet& wallet, const * or (2) an specific error message if there was something particularly wrong (e.g. a selection * result that surpassed the tx max weight size). */ -util::Result<SelectionResult> AutomaticCoinSelection(const CWallet& wallet, CoinsResult& available_coins, const CAmount& nTargetValue, const CCoinControl& coin_control, +util::Result<SelectionResult> AutomaticCoinSelection(const CWallet& wallet, CoinsResult& available_coins, const CAmount& nTargetValue, const CoinSelectionParams& coin_selection_params) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet); /** |