mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 03:18:09 -03:00
Merge bitcoin/bitcoin#31497: Remove unused variable assignment
b9766c9977
Remove unused variable assignment (yancy) Pull request description: 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. ACKs for top commit: theuni: utACKb9766c9977
achow101: ACKb9766c9977
hodlinator: crACKb9766c9977
danielabrozzoni: code review ACKb9766c9977
murchandamus: ACKb9766c9977
Tree-SHA512: 45e62b0dd561a473f5ae21bfa91db494940b752886669c85b63a83b68d2a157a301e9450082635e921f3dc812e6307f4ad1674806b74b3e7e0f9f4db543ad93d
This commit is contained in:
commit
ad174c2817
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue