mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-30 10:42:23 +02:00
Remove redundant statement
This commit is contained in:
@ -115,7 +115,7 @@ bool SelectCoinsBnB(std::vector<CInputCoin>& utxo_pool, const CAmount& target_va
|
|||||||
while (!curr_selection.empty() && !curr_selection.back()) {
|
while (!curr_selection.empty() && !curr_selection.back()) {
|
||||||
curr_selection.pop_back();
|
curr_selection.pop_back();
|
||||||
curr_available_value += utxo_pool.at(curr_selection.size()).effective_value;
|
curr_available_value += utxo_pool.at(curr_selection.size()).effective_value;
|
||||||
};
|
}
|
||||||
|
|
||||||
if (curr_selection.empty()) { // We have walked back to the first utxo and no branch is untraversed. All solutions searched
|
if (curr_selection.empty()) { // We have walked back to the first utxo and no branch is untraversed. All solutions searched
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user