Skip to content

Conversation

@blinry
Copy link
Contributor

@blinry blinry commented Nov 9, 2025

This should make it a bit easier to test, because you don't need to copy the individual parts of the secret address.

Comment on lines 68 to 69
if peer_secret_address.len() != 2 {
bail!("peer_secret_address does not have the format <node_id>#<passphrase>")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently, this verification fails, I'm not sure why!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, because it was supposed to be parts.len(). :D Fixed, and ready for review!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

(@winniehell, requesting your review without expectations you get to it soon! But this is a nice quality-of-life improvement for me!)

@blinry blinry force-pushed the accept-full-secret-address branch from 5da7026 to dabf742 Compare November 10, 2025 10:56
@blinry blinry marked this pull request as ready for review November 10, 2025 10:57
@blinry blinry requested a review from winniehell November 10, 2025 10:58
Copy link
Collaborator

@winniehell winniehell left a comment

Choose a reason for hiding this comment

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

the dioxus upgrade caused conflicts here - sorry! but I'm otherwise happy to merge this.

there is some additional refactoring that I would like to see there but that can wait 😴

This should make it a bit easier to test, because you don't need to copy
the individual parts of the secret address.
@blinry blinry force-pushed the accept-full-secret-address branch from dabf742 to 5f1831a Compare November 27, 2025 10:36
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.

3 participants