Skip to content

Commit

Permalink
Remove unused variable assignment
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
yancyribbens committed Dec 14, 2024
1 parent b042c4f commit b9766c9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/wallet/coinselection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b9766c9

Please sign in to comment.