carrot+fcmp: tx_builder use select_greedy_aging

This commit is contained in:
jeffro256
2025-04-23 22:11:45 -05:00
committed by akildemir
parent 606cdd43f2
commit 89c60d57ec

View File

@@ -205,8 +205,8 @@ carrot::select_inputs_func_t make_wallet2_single_transfer_input_selector(
std::vector<carrot::CarrotSelectedInput> &selected_inputs_outs
){
const std::vector<carrot::input_selection_policy_t> policies{
&carrot::ispolicy::select_two_inputs_prefer_oldest
}; // @TODO
&carrot::ispolicy::select_greedy_aging
};
// TODO: not all carrot is internal
std::uint32_t flags = 0;