} fn send_to_address( &self, address: Address, amount: f64, comment: Option, comment_to: Option, subtract_fee: Option, replaceable: Option, confirmation_target: Option, estimate_mode: Option, avoid_reuse: Option, fee_rate: Option, verbose: Option, ) -> Result { assert_eq!(comment, None); assert_eq!(comment_to, None); assert_eq!(subtract_fee, None); assert_eq!(replaceable, None); assert_eq!(confirmation_target, None); assert_eq!(estimate_mode, None); assert_eq!(avoid_reuse, None); assert_eq!(verbose, None); let mut state = self.state.lock().unwrap(); let locked = state.locked.iter().cloned().collect::>(); let value = Amount::from_btc(amount).expect("error converting amount to sat"); let (outpoint, utxo_amount) = match state .utxos .iter() .find(|(outpoint, amount)| *amount >= &value && !locked.contains(outpoint))