From 70e74b4e6becfdca5e6cd14f8b6c212b2440bfb6 Mon Sep 17 00:00:00 2001 From: Maple Nebel Date: Mon, 6 Jul 2026 14:57:29 +0200 Subject: [PATCH] grpc client --- rnex-core/src/grpc/account.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rnex-core/src/grpc/account.rs b/rnex-core/src/grpc/account.rs index 3bd9445..445a00c 100644 --- a/rnex-core/src/grpc/account.rs +++ b/rnex-core/src/grpc/account.rs @@ -52,7 +52,7 @@ pub struct Client(NexAccountServiceClient); //(reqwest::Client); impl Client { pub async fn new() -> Result { - let client = NexAccountServiceClient::connect(NEX_ACCOUNT_URL.as_str()).await?; + let client = nex_account::grpc_client().await.unwrap(); Ok(Self(client)) }