lightning-onion
lightning-onion copied to clipboard
Remove unnecessary allocations in HopData encode/decode methods
Thanks for the PR!
This PR needs some explanation/rationale for the change it is making. Could you add some comments and/or benchmarks to the PR description and commit message?
I added the explanation to the commit message.