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,