mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 16:38:23 +01:00
Remove unused variable assignment
The variable is conditionally assigned toward the end of the loop and not used after. It's then set back to its default value at the beginning of the loop.
This commit is contained in:
@@ -478,7 +478,6 @@ util::Result<SelectionResult> CoinGrinder(std::vector<OutputGroup>& utxo_pool, c
|
||||
// Neither adding to the current selection nor exploring the omission branch of the last selected UTXO can
|
||||
// find any solutions. Redirect to exploring the Omission branch of the penultimate selected UTXO (i.e.
|
||||
// set `next_utxo` to one after the penultimate selected, then deselect the last two selected UTXOs)
|
||||
should_cut = false;
|
||||
deselect_last();
|
||||
should_shift = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user