Skip to content

Commit 8d63c90

Browse files
Merge #6442: fix: coin selection with include_unsafe option should respect nCoinType
e5114da fix: coin selection with `include_unsafe` option should respect `nCoinType` (UdjinM6) Pull request description: ## Issue being fixed or feature implemented The issue was introduced in #6074 via 69c5aa8 ## What was done? ## How Has This Been Tested? ## Breaking Changes ## Checklist: - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [ ] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: PastaPastaPasta: utACK e5114da kwvg: utACK e5114da Tree-SHA512: 5d4e22f9d2cecf2239185e0f4c9d8b29b995b25b4f53a74d6c9b7929aac6ec918ebfb4029a83b72a003fe42fe82619f7ab4892d620bf5846cadf99f1f0cb0969
2 parents 052da50 + e5114da commit 8d63c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3041,7 +3041,7 @@ bool CWallet::SelectCoins(const std::vector<COutput>& vAvailableCoins, const CAm
30413041
if (coin_control.m_include_unsafe_inputs
30423042
&& SelectCoinsMinConf(value_to_select,
30433043
CoinEligibilityFilter(0 /* conf_mine */, 0 /* conf_theirs */, max_ancestors-1, max_descendants-1, true /* include_partial_groups */),
3044-
vCoins, setCoinsRet, nValueRet, coin_selection_params, bnb_used)) {
3044+
vCoins, setCoinsRet, nValueRet, coin_selection_params, bnb_used, nCoinType)) {
30453045
return true;
30463046
}
30473047
// Try with unlimited ancestors/descendants. The transaction will still need to meet

0 commit comments

Comments
 (0)