-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #41: Remove arbitrary padding limit
8569ee8 Remove arbitrary padding limit (Martin Habovstiak) Pull request description: When formatting a slice as hex an arbitrary limit of 512 chars was applied to decide whether to pad it. This was silent and surprising so this commit fixes it by removing the limit. It implements padding manually with moderate optimizations. (The limit was introduced in #25 ) ACKs for top commit: apoelstra: ACK 8569ee8 Tree-SHA512: 342ab6f42fd5ceeb90303fe2651b96f1777891bf7ce123a1ba01b884bba408d423303ae8825d606bf223373494a3f983d6c795347770465e81ee513a505a595b
- Loading branch information
Showing
2 changed files
with
117 additions
and
21 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