Skip to content

Conversation

@epoberezkin
Copy link
Member

No description provided.

@epoberezkin epoberezkin requested a review from spaced4ndy as a code owner April 1, 2025 12:58
instance Encoding SMPQueueInfo where
smpEncode (SMPQueueInfo clientVersion SMPQueueAddress {smpServer, senderId, dhPublicKey, queueMode})
| clientVersion >= shortLinksSMPClientVersion = addrEnc <> smpEncode queueMode
| clientVersion >= shortLinksSMPClientVersion = addrEnc <> maybe "" smpEncode queueMode
Copy link
Member Author

@epoberezkin epoberezkin Apr 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is needed to avoid potential conflict/overlap with subsequent Maybe in ConnectionRequestUri encoding.

@epoberezkin epoberezkin merged commit 2c5530c into short-links Apr 1, 2025
1 of 9 checks passed
@epoberezkin epoberezkin deleted the ep/conn-req-encoding branch April 1, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant