Skip to content

refactor response types/structure to match spec#3

Merged
a1denvalu3 merged 4 commits intoa1denvalu3:dlcfrom
conduition:dlc2
Aug 26, 2024
Merged

refactor response types/structure to match spec#3
a1denvalu3 merged 4 commits intoa1denvalu3:dlcfrom
conduition:dlc2

Conversation

@conduition
Copy link
Copy Markdown

Currently the code reuses some types (DlcFundingProof, DlcOutcome) to contain error messages. This is poor hygiene and I wanted to clean it up while also bringing the response structure in line with the latest changes to the spec

The spec now includes the `funding_proof` as a sub-object,
which includes a reference to the keyset used to create
the funding proof.
@a1denvalu3
Copy link
Copy Markdown
Owner

Could you please modify the test to reflect the changes you made, as well?

@conduition
Copy link
Copy Markdown
Author

Woops, missed that. Fixed 👍

@a1denvalu3 a1denvalu3 merged commit 9c5bf34 into a1denvalu3:dlc Aug 26, 2024
@conduition conduition deleted the dlc2 branch August 27, 2024 14:11
a1denvalu3 added a commit that referenced this pull request Dec 23, 2025
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