Uh oh!
There was an error while loading. Please reload this page.
[minor] Add Display to Payment ID types - #2492
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@## main #2492 +/- ##
==========================================
- Coverage 90.59% 90.53% -0.07%
==========================================
Files 106 107 +1 Lines 56525 56923 +398 Branches 56525 56923 +398 ==========================================
+ Hits 51207 51533 +326 - Misses 5318 5390 +72 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
TheBlueMatt
left a comment
There was a problem hiding this comment.
LGTM, except the allocations.
Uh oh!
There was an error while loading. Please reload this page.
TheBlueMatt
commented
Aug 14, 2023
Feel free to squash the fixup commit down into the original commit to not have two commits back-to-back that edit the same code. |
a1fcce7 to
5c63c25Compare5c63c25 to
ad2cd84Compareoptout21
commented
Aug 22, 2023
Rebased and reorganized commits, as suggested, to avoid touching the same code from multiple commits. Commits: add Display to PaymentHash (most frequently used), adapt logging, add Display to PaymentId and PaymentPreimage, adapt logging. |
valentinewallace
commented
Aug 22, 2023
Missed a few in |
ad2cd84 to
4146264Compareoptout21
commented
Aug 23, 2023
Indeed, good catch! I've searched through all |
jbesraa
commented
Aug 23, 2023
looks good! |
Minor convenience/housekeeping change:
Displaytrait toPaymentHash,PaymentId,PaymentPreimagelog_bytes!()Almost all remaining
log_bytes!usage is forChannelId, which is addressed in #2485 .(The
log_bytes!macro is OK, but its usage suggests non-type-safe usage, plus it reduces readablity a bit).