forked from p2pderivatives/rust-dlc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Validate SettledReceived state before rolling back the signed ch…
…annel state. That has been a regression introduced by [1]. By loading the signed channel state of state `SettledReceived` we implicitely validate that the signed channel is in a correct state. Moving that macro after the rollback, will always fail, because the channel got rolled back either to `Established` or `Settled`. --- [^1] d783019.
- Loading branch information
Showing
2 changed files
with
24 additions
and
3 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