-
Notifications
You must be signed in to change notification settings - Fork 407
Change ChannelManager deserialization to return an optional blockhash #819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change ChannelManager deserialization to return an optional blockhash #819
Conversation
Codecov Report
@@ Coverage Diff @@
## main #819 +/- ##
=======================================
Coverage 90.73% 90.74%
=======================================
Files 48 48
Lines 25642 25648 +6
=======================================
+ Hits 23267 23274 +7
+ Misses 2375 2374 -1
Continue to review full report at Codecov.
|
eaccb04
to
514119a
Compare
If the ChannelManager never receives any blocks, it'll return a default blockhash on deserialization. It's preferable for this to be an Option instead.
See previous commit msg for details.
514119a
to
8550bd4
Compare
Fixed nits and squashed. Gonna merge. Full diff from Val's original work is:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review ACK 8550bd4
This is just #810 rebased with one additional commit on top to update documentation.