From 8ddb46c5e8c4e6e4ff8d8a0d034e7863026eb4b3 Mon Sep 17 00:00:00 2001 From: yancy Date: Sat, 14 Dec 2024 17:33:33 -0600 Subject: [PATCH] Fix format --- src/branch_and_bound.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/branch_and_bound.rs b/src/branch_and_bound.rs index bdcf81c..6ccaf4c 100644 --- a/src/branch_and_bound.rs +++ b/src/branch_and_bound.rs @@ -44,7 +44,6 @@ use crate::WeightedUtxo; /// - Not enough potential amount to meet the target, etc /// - Target Amount is zero (no match possible) /// - UTXO space was searched succefully however no match was found - // This search explores a binary tree. The left branch of each node is the inclusion branch and // the right branch is the exclusion branch. // o @@ -293,7 +292,7 @@ pub fn select_coins_bnb( iteration += 1; } - return index_to_utxo_list(best_selection, w_utxos); + index_to_utxo_list(best_selection, w_utxos) } fn index_to_utxo_list(