Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
forgot to stage this in pr #151 (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
chunningham authored Jul 20, 2023
1 parent 7373d67 commit d9c9ee9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/src/siwe_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ impl TryFrom<HostConfig> 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(),
Expand Down

0 comments on commit d9c9ee9

Please sign in to comment.