From f6e5888ebc06f40b1c24583dcf0ff49230412ea1 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Wed, 4 Feb 2026 02:48:24 +0800 Subject: [PATCH] :bug: Fix the service consturcting issue --- DysonNetwork.Wallet/Payment/SubscriptionServiceGrpc.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/DysonNetwork.Wallet/Payment/SubscriptionServiceGrpc.cs b/DysonNetwork.Wallet/Payment/SubscriptionServiceGrpc.cs index 44137fa1..252e5e4d 100644 --- a/DysonNetwork.Wallet/Payment/SubscriptionServiceGrpc.cs +++ b/DysonNetwork.Wallet/Payment/SubscriptionServiceGrpc.cs @@ -1,16 +1,15 @@ using DysonNetwork.Shared.Models; using DysonNetwork.Shared.Proto; -using DysonNetwork.Shared.Registry; using Grpc.Core; namespace DysonNetwork.Wallet.Payment; public class SubscriptionServiceGrpc( SubscriptionService subscriptionService, - IGrpcClientFactory accountsFactory + AccountService.AccountServiceClient accounts ) : Shared.Proto.SubscriptionService.SubscriptionServiceBase { - private readonly AccountService.AccountServiceClient _accounts = accountsFactory.CreateClient(); + private readonly AccountService.AccountServiceClient _accounts = accounts; public override async Task GetSubscription( GetSubscriptionRequest request,