-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure all node records are valid length (#185)
* Refactor NodeRecord to ensure all created NodeRecords are no larger than 300 bytes * Create new map entry instead of trying to modify the existing one * Test that exception is thrown when enr is too long * spotless * Use Bytes.repeat to clean up new test * Ensure field list contains no duplicate entries before collecting to map * spotless
- Loading branch information
1 parent
0513455
commit b537632
Showing
3 changed files
with
52 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters