grpc client

This commit is contained in:
Maple Nebel 2026-07-06 14:57:29 +02:00
commit 70e74b4e6b

View file

@ -52,7 +52,7 @@ pub struct Client(NexAccountServiceClient<Channel>); //(reqwest::Client);
impl Client {
pub async fn new() -> Result<Self> {
let client = NexAccountServiceClient::connect(NEX_ACCOUNT_URL.as_str()).await?;
let client = nex_account::grpc_client().await.unwrap();
Ok(Self(client))
}