File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1418,7 +1418,7 @@ impl Wallet {
14181418 fee_amount += fee_rate * tx. weight ( ) ;
14191419
14201420 let ( required_utxos, optional_utxos) =
1421- self . preselect_utxos ( & params, Some ( current_height. to_consensus_u32 ( ) ) ) ;
1421+ self . filter_utxos ( & params, Some ( current_height. to_consensus_u32 ( ) ) ) ;
14221422
14231423 // get drain script
14241424 let mut drain_index = Option :: < ( KeychainKind , u32 ) > :: None ;
@@ -1970,7 +1970,7 @@ impl Wallet {
19701970
19711971 /// Given the options returns the list of utxos that must be used to form the
19721972 /// transaction and any further that may be used if needed.
1973- fn preselect_utxos (
1973+ fn filter_utxos (
19741974 & self ,
19751975 params : & TxParams ,
19761976 current_height : Option < u32 > ,
@@ -2030,7 +2030,7 @@ impl Wallet {
20302030 } )
20312031 // include foreign UTxOs
20322032 . chain ( params. foreign_utxos . clone ( ) )
2033- // TODO: here preselect_utxos could be splitted further into two functions to allow the
2033+ // TODO: here filter_utxos could be splitted further into two functions to allow the
20342034 // addition of extra filters for inputs based on properties of the WeightedUtxos
20352035 //
20362036 // split UTxOs in required and optional
You can’t perform that action at this time.
0 commit comments