Skip to content

Conversation

@MDrollette
Copy link
Contributor

ReplaySet contains a map that must be initialized in order to avoid nil map panics. This change makes sure the constructor is used rather than the zero value.

Reported via Slack

@MDrollette MDrollette changed the title ensure replays is fully initialized before using it Ensure ReplaySet is fully initialized before using it Mar 23, 2018
Copy link
Contributor

@cfromknecht cfromknecht left a comment

Choose a reason for hiding this comment

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

Nice catch, thank you @MDrollette!

Copy link
Member

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

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

LGTM 💎

@Roasbeef Roasbeef merged commit c861375 into lightningnetwork:master Mar 26, 2018
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