-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add force_close_spend_delay
filed for ChannelClosure
#84
Add force_close_spend_delay
filed for ChannelClosure
#84
Conversation
8cc0568
to
eff8e88
Compare
@@ -970,6 +970,7 @@ impl MutinyWallet { | |||
.list_channel_closures() | |||
.await? | |||
.into_iter() | |||
.filter(|closure| closure.timestamp != 0) // filter out placeholder closures |
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.
When channel_closeure
stored as a placeholder, it can be filtered out when list_channel_closures
is called from the front end. @Flouse @ShookLyngs
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.
ok, i see
force_close_spend_delay
filed forChannelClosure
, a call to thelist_channel_closures
method will reflect thisforce_close_spend_delay
filed forMutinyChannel
, a call to thelist_channels
method will reflect thisforce_close_spend_delay
is set toNone
for older versions of the data.The definition of
force_close_spend_delay
is as follows: