@@ -160,7 +160,6 @@ pub struct FederationIdentity {
160160 pub federation_name : Option < String > ,
161161 pub federation_expiry_timestamp : Option < String > ,
162162 pub welcome_message : Option < String > ,
163- pub gateway_fees : Option < GatewayFees > ,
164163 // undocumented parameters that fedi uses: https://meta.dev.fedibtc.com/meta.json
165164 pub federation_icon_url : Option < String > ,
166165 pub meta_external_url : Option < String > ,
@@ -873,12 +872,10 @@ impl<S: MutinyStorage> FederationClient<S> {
873872 }
874873
875874 pub async fn get_mutiny_federation_identity ( & self ) -> FederationIdentity {
876- let gateway_fees = self . gateway_fee ( ) . await . ok ( ) ;
877875 get_federation_identity (
878876 self . uuid . clone ( ) ,
879877 self . fedimint_client . clone ( ) ,
880878 self . invite_code . clone ( ) ,
881- gateway_fees,
882879 self . logger . clone ( ) ,
883880 )
884881 . await
@@ -895,8 +892,6 @@ pub(crate) async fn get_federation_identity(
895892 uuid : String ,
896893 fedimint_client : ClientHandleArc ,
897894 invite_code : InviteCode ,
898- gateway_fees : Option < GatewayFees > ,
899-
900895 logger : Arc < MutinyLogger > ,
901896) -> FederationIdentity {
902897 let federation_id = fedimint_client. federation_id ( ) ;
@@ -950,7 +945,6 @@ pub(crate) async fn get_federation_identity(
950945 fedimint_client. get_meta ( "welcome_message" ) ,
951946 config. as_ref ( ) . and_then ( |c| c. welcome_message . clone ( ) ) ,
952947 ) ,
953- gateway_fees, // Already merged using helper function...
954948 federation_icon_url : merge_values (
955949 fedimint_client. get_meta ( "federation_icon_url" ) ,
956950 config. as_ref ( ) . and_then ( |c| c. federation_icon_url . clone ( ) ) ,
0 commit comments