@@ -986,7 +986,7 @@ impl ValueRetriever for NeighborhoodMode {
986986 _persistent_config : & dyn PersistentConfiguration ,
987987 _db_password_opt : & Option < String > ,
988988 ) -> Option < ( String , UiSetupResponseValueStatus ) > {
989- Some ( ( "standard " . to_string ( ) , Default ) )
989+ Some ( ( "zero-hop " . to_string ( ) , Default ) )
990990 }
991991
992992 fn is_required ( & self , _params : & SetupCluster ) -> bool {
@@ -1448,7 +1448,7 @@ mod tests {
14481448 ( "log-level" , "warn" , Default ) ,
14491449 ( "mapping-protocol" , "" , Blank ) ,
14501450 ( "min-hops" , & DEFAULT_MIN_HOPS . to_string( ) , Default ) ,
1451- ( "neighborhood-mode" , "standard " , Default ) ,
1451+ ( "neighborhood-mode" , "zero-hop " , Default ) ,
14521452 (
14531453 "neighbors" ,
14541454 "masq://eth-mainnet:[email protected] :1234,masq://eth-mainnet:[email protected] :5678" , @@ -3287,7 +3287,7 @@ mod tests {
32873287 & None ,
32883288 ) ;
32893289
3290- assert_eq ! ( result, Some ( ( "standard " . to_string( ) , Default ) ) )
3290+ assert_eq ! ( result, Some ( ( "zero-hop " . to_string( ) , Default ) ) )
32913291 }
32923292
32933293 #[ test]
0 commit comments