-
Notifications
You must be signed in to change notification settings - Fork 40
fix!(types): v24/v28 fixes #375
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -250,7 +250,7 @@ pub struct ListUnspentItem { | |
| /// The bitcoin address of the transaction. | ||
| pub address: String, | ||
| /// The associated label, or "" for the default label. | ||
| pub label: String, | ||
| pub label: Option<String>, | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The need for this change proves what we suspect, our test coverage is not good enough (see #58). |
||
| /// The script key. | ||
| #[serde(rename = "scriptPubKey")] | ||
| pub script_pubkey: String, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -82,5 +82,5 @@ pub struct SubmitPackageTxResultFees { | |
| /// If [`Self::effective_fee_rate`] is provided, this holds the wtxid's of the transactions | ||
| /// whose fees and vsizes are included in effective-feerate. | ||
| #[serde(rename = "effective-includes")] | ||
| pub effective_includes: Vec<String>, | ||
| pub effective_includes: Option<Vec<String>>, | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And this one too. Thanks for finding and fixing these for us @storopoli. |
||
| } | ||
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.
Nice! Thanks man. Can you add an
into_modelmethod too please. Copy from v17 also, or here it is.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.
Done in a5f9033