We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5f9033 commit 014e158Copy full SHA for 014e158
2 files changed
types/src/v28/raw_transactions/into.rs
@@ -61,7 +61,8 @@ impl SubmitPackageTxResultFees {
61
.flatten();
62
let effective_includes = self
63
.effective_includes
64
- .iter()
+ .unwrap_or_default()
65
+ .into_iter()
66
.map(|s| s.parse::<Wtxid>().map_err(E::EffectiveIncludes))
67
.collect::<Result<Vec<_>, _>>()?;
68
types/src/v28/raw_transactions/mod.rs
@@ -82,5 +82,5 @@ pub struct SubmitPackageTxResultFees {
82
/// If [`Self::effective_fee_rate`] is provided, this holds the wtxid's of the transactions
83
/// whose fees and vsizes are included in effective-feerate.
84
#[serde(rename = "effective-includes")]
85
- pub effective_includes: Vec<String>,
+ pub effective_includes: Option<Vec<String>>,
86
}
0 commit comments