Skip to content

Commit

Permalink
chore: Add NIP-62 to supported nips
Browse files Browse the repository at this point in the history
Signed-off-by: Awiteb <[email protected]>
  • Loading branch information
TheAwiteb committed Feb 24, 2025
1 parent b6263b6 commit 0a999a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub struct RelayInfo {
/// Convert an Info configuration into public Relay Info
impl From<Settings> for RelayInfo {
fn from(c: Settings) -> Self {
let mut supported_nips = vec![1, 2, 9, 11, 12, 15, 16, 20, 22, 33, 40];
let mut supported_nips = vec![1, 2, 9, 11, 12, 15, 16, 20, 22, 33, 40, 62];

if c.authorization.nip42_auth {
supported_nips.push(42);
Expand Down

0 comments on commit 0a999a8

Please sign in to comment.