Merge pull request 'grpc client' (#43) from friends/3ds into v0

Reviewed-on: spacebar/rust-nex#43
This commit is contained in:
rusticmaple 2026-07-06 14:58:20 +02:00
commit 82595e810c

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))
}