Skip to content

Commit b9766c9

Browse files
committed
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.
1 parent b042c4f commit b9766c9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/wallet/coinselection.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,6 @@ util::Result<SelectionResult> CoinGrinder(std::vector<OutputGroup>& utxo_pool, c
478478
// Neither adding to the current selection nor exploring the omission branch of the last selected UTXO can
479479
// find any solutions. Redirect to exploring the Omission branch of the penultimate selected UTXO (i.e.
480480
// set `next_utxo` to one after the penultimate selected, then deselect the last two selected UTXOs)
481-
should_cut = false;
482481
deselect_last();
483482
should_shift = true;
484483
}

0 commit comments

Comments
 (0)