-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Populate
Channel::interactive_tx_signing_session
on read
We allow persisting `Channel`s in a `ChannelState::FundingNegotiated` only if `Channel::interactive_tx_signing_session` is Some. When reading a persisted `Channel` in `ChannelState::FundingNegotiate`, we populate `Channel::interactive_tx_signing_session` with appropriate values for accepting dual-funded channels without contributing. Currently we don't need persistence, but we will need to persist some information when we allow contributing funds to dual-funded channels.
- Loading branch information
Showing
2 changed files
with
53 additions
and
4 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