From bc19e3a0e427538449c973c51b9de55e2259c97e Mon Sep 17 00:00:00 2001 From: chunningham Date: Thu, 20 Jul 2023 11:50:29 +0200 Subject: [PATCH] forgot to stage this in pr #151 --- sdk/src/siwe_utils.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/src/siwe_utils.rs b/sdk/src/siwe_utils.rs index 1e0af517..b33d1fc3 100644 --- a/sdk/src/siwe_utils.rs +++ b/sdk/src/siwe_utils.rs @@ -52,7 +52,8 @@ impl TryFrom for Message { chain_id: c.chain_id, domain: c.domain, issued_at: c.issued_at, - uri: format!("peer:{}", c.peer_id) + uri: c + .peer_id .try_into() .map_err(|e| format!("error parsing peer as a URI: {e}"))?, nonce: generate_nonce(),