File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -80,14 +80,12 @@ impl OnchainPayment {
8080 return Err ( Error :: NotRunning ) ;
8181 }
8282
83- // let validated_address = self.parse_and_validate_address(self.config.network, &address)?;
84-
8583 let cur_anchor_reserve_sats =
8684 crate :: total_anchor_channels_reserve_sats ( & self . channel_manager , & self . config ) ;
8785 let send_amount =
8886 OnchainSendAmount :: ExactRetainingReserve { amount_sats, cur_anchor_reserve_sats } ;
8987 let fee_rate_opt = maybe_map_fee_rate_opt ! ( fee_rate) ;
90- self . wallet . send_to_address ( & address, send_amount, fee_rate_opt)
88+ self . wallet . send_to_address ( address, send_amount, fee_rate_opt)
9189 }
9290
9391 /// Send an on-chain payment to the given address, draining the available funds.
@@ -122,6 +120,6 @@ impl OnchainPayment {
122120 } ;
123121
124122 let fee_rate_opt = maybe_map_fee_rate_opt ! ( fee_rate) ;
125- self . wallet . send_to_address ( & address, send_amount, fee_rate_opt)
123+ self . wallet . send_to_address ( address, send_amount, fee_rate_opt)
126124 }
127125}
You can’t perform that action at this time.
0 commit comments