Skip to content
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

revert: Serialize channel message #1957

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

holzeis
Copy link
Contributor

@holzeis holzeis commented Feb 3, 2024

I opted to revert this change as it was a mere refactoring and it's not worth to break serializing and deserializing last_outbound_dlc_messages.message for it. Even if it would have had only a minor downside (being that the last message could not be resend and producing the below error).

fixes

 [ERROR] TIME: 2024-02-03T15:39:38.448459Z r: Failed to process on connect event. unknown variant `temporaryChannelId`, expected one of `Offer`, `Accept`, `Sign`, `SettleOffer`, `SettleAccept`, `SettleConfirm`, `SettleFinalize`, `RenewOffer`, `RenewAccept`, `RenewConfirm`, `RenewFinalize`, `RenewRevoke`, `CollaborativeCloseOffer`, `Reject` at line 1 column 21 peer: 02dd6abec97f9a748bf76ad502b004ce05d1b2d1f43a9e76bd7d85e767ffb022c9

fixes
```
 [ERROR] TIME: 2024-02-03T15:39:38.448459Z r: Failed to process on connect event. unknown variant `temporaryChannelId`, expected one of `Offer`, `Accept`, `Sign`, `SettleOffer`, `SettleAccept`, `SettleConfirm`, `SettleFinalize`, `RenewOffer`, `RenewAccept`, `RenewConfirm`, `RenewFinalize`, `RenewRevoke`, `CollaborativeCloseOffer`, `Reject` at line 1 column 21 peer: 02dd6abec97f9a748bf76ad502b004ce05d1b2d1f43a9e76bd7d85e767ffb022c9
 ```
@holzeis holzeis requested review from bonomat and luckysori February 3, 2024 21:02
@holzeis holzeis self-assigned this Feb 3, 2024
@holzeis holzeis enabled auto-merge February 4, 2024 14:11
@holzeis holzeis added this pull request to the merge queue Feb 5, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 5, 2024
@holzeis holzeis added this pull request to the merge queue Feb 5, 2024
Merged via the queue into main with commit 1b435af Feb 5, 2024
10 checks passed
@holzeis holzeis deleted the fix/failed-to-send-last-outbound-dlc-message branch February 5, 2024 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants