Skip to content

fix(hypercore): cap reconnect attempts to 13 to prevent panic#65

Open
mikroskeem wants to merge 1 commit into
infinitefield:mainfrom
BuckshotCapital:push-ypxpqrnvqzrs
Open

fix(hypercore): cap reconnect attempts to 13 to prevent panic#65
mikroskeem wants to merge 1 commit into
infinitefield:mainfrom
BuckshotCapital:push-ypxpqrnvqzrs

Conversation

@mikroskeem

Copy link
Copy Markdown

Discovered during recent mainnet update - reconnect attempts can grow unbounded and overflow u64. 58th attempt will yield a panic.

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