Skip to content

Use deterministic ordering of HashMaps when encoding a ChannelMonitor #1911

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

benthecarman
Copy link
Contributor

This makes the encoding of a ChannelMonitor reproducible, this should make testing easier among other things

@TheBlueMatt
Copy link
Collaborator

Chatted about this on discord, would much rather do it via an Eq method, see #1912

@benthecarman benthecarman deleted the deterministic-ordering branch December 12, 2022 21:02
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.

2 participants