File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
crates/iota-swarm-config/src Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -544,7 +544,9 @@ impl<R: rand::RngCore + rand::CryptoRng> ConfigBuilder<R> {
544544 }
545545 }
546546 if self . default_admin_interface_address {
547- builder = builder. with_admin_interface_address ( iota_config:: node:: default_admin_interface_address ( ) ) ;
547+ builder = builder. with_admin_interface_address (
548+ iota_config:: node:: default_admin_interface_address ( ) ,
549+ ) ;
548550 }
549551 if self . empty_validator_genesis {
550552 builder. build_without_genesis ( validator)
Original file line number Diff line number Diff line change @@ -206,11 +206,11 @@ impl ValidatorConfigBuilder {
206206 db_path,
207207 network_address,
208208 metrics_address : validator. metrics_address ,
209- admin_interface_address : self . admin_interface_address . unwrap_or_else ( ||
209+ admin_interface_address : self . admin_interface_address . unwrap_or_else ( || {
210210 local_ip_utils:: new_tcp_address_for_testing ( & localhost)
211211 . to_socket_addr ( )
212212 . unwrap ( )
213- ) ,
213+ } ) ,
214214 json_rpc_address : local_ip_utils:: new_tcp_address_for_testing ( & localhost)
215215 . to_socket_addr ( )
216216 . unwrap ( ) ,
You can’t perform that action at this time.
0 commit comments